summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Siraut <csiraut@entrouvert.com>2019-02-14 10:31:07 (GMT)
committerChristophe Siraut <csiraut@entrouvert.com>2019-02-14 12:21:26 (GMT)
commit1f80d8ed5b3ddc45106cb8561b3039ff2a6589d8 (patch)
treedcf52233a0c88ca185e1a596b9e6584325f1f223
parentd7e4b6b07fcd0f808c64f89001093b170d5fed3d (diff)
downloadentrouvert-archive-1f80d8ed5b3ddc45106cb8561b3039ff2a6589d8.zip
entrouvert-archive-1f80d8ed5b3ddc45106cb8561b3039ff2a6589d8.tar.gz
entrouvert-archive-1f80d8ed5b3ddc45106cb8561b3039ff2a6589d8.tar.bz2
add entrouvert-unattended-upgrades (#30578)
-rw-r--r--debian-stretch/control4
-rw-r--r--debian-stretch/entrouvert-unattended-upgrades.install1
-rw-r--r--stretch/apt.conf.d/90entrouvert-unattended-upgrades7
3 files changed, 12 insertions, 0 deletions
diff --git a/debian-stretch/control b/debian-stretch/control
index f14f32e..64fdcde 100644
--- a/debian-stretch/control
+++ b/debian-stretch/control
@@ -34,3 +34,7 @@ Depends: ${misc:Depends}, entrouvert-repository-testing
Description: Entr'ouvert eobuilder repository entry and associated apt preferences
Install this package if you want to install packages from Entr'ouvert
development repository.
+
+Package: entrouvert-unattended-upgrades
+Architecture: all
+Description: Automatic packages upgrades from Entr'ouvert repositories
diff --git a/debian-stretch/entrouvert-unattended-upgrades.install b/debian-stretch/entrouvert-unattended-upgrades.install
new file mode 100644
index 0000000..82f12f3
--- /dev/null
+++ b/debian-stretch/entrouvert-unattended-upgrades.install
@@ -0,0 +1 @@
+stretch/apt.conf.d/90entrouvert-unattended-upgrades etc/apt/apt.conf.d
diff --git a/stretch/apt.conf.d/90entrouvert-unattended-upgrades b/stretch/apt.conf.d/90entrouvert-unattended-upgrades
new file mode 100644
index 0000000..da4295b
--- /dev/null
+++ b/stretch/apt.conf.d/90entrouvert-unattended-upgrades
@@ -0,0 +1,7 @@
+Unattended-Upgrade::Origins-Pattern {
+ "origin=Debian,codename=${distro_codename},label=Debian";
+ "origin=Debian,codename=${distro_codename},label=Debian-Security";
+ "origin=Entr'ouvert,codename=${distro_codename}";
+ "origin=Entr'ouvert,codename=${distro_codename}-testing";
+ "origin=Entr'ouvert,codename=${distro_codename}-eobuilder";
+};