On 08/06/2017 07:12 PM, Jonathan Wiltshire wrote: > Control: tag -1 moreinfo > > On Wed, Aug 02, 2017 at 08:45:57PM +0200, Thomas Goirand wrote: >> diff -Nru cloud-init-0.7.9/debian/cloud-init.NEWS >> cloud-init-0.7.9/debian/cloud-init.NEWS >> --- cloud-init-0.7.9/debian/cloud-init.NEWS 1970-01-01 01:00:00.000000000 >> +0100 >> +++ cloud-init-0.7.9/debian/cloud-init.NEWS 2017-08-02 20:28:11.000000000 >> +0200 >> @@ -0,0 +1,8 @@ >> +cloud-init default behavior from upstream is to manage sources.list for >> Debian, >> +adding contrib and non-free by default. This is clearly a bug which we have >> +fixed. If you need contrib and non-free on your computer running cloud-init, >> +then please use /etc/apt/sources.list.d facility, instead of the general >> file >> +in /etc/apt/sources.list, as we changed the behavior. Our appologies for >> this >> +change. >> + >> + -- Thomas Goirand <z...@debian.org> Wed, 02 Aug 2017 20:28:11 +0200 > > Is NEWS the appropriate place for this, or would README or the changelog be > better? As it will only be shown when upgrading existing systems, this will > simply be noise (those systems will already have a sources.list). > > > Thanks,
Hi, I have removed the README.Debian file, and re-uploaded to: http://sid.gplhost.com/stretch-proposed-updates/cloud-init/ Debdiff attached. Please allow this upload. Cheers, Thomas Goirand (zigo)
diff -Nru cloud-init-0.7.9/debian/changelog cloud-init-0.7.9/debian/changelog --- cloud-init-0.7.9/debian/changelog 2017-02-02 14:23:41.000000000 +0100 +++ cloud-init-0.7.9/debian/changelog 2017-08-02 20:28:11.000000000 +0200 @@ -1,3 +1,9 @@ +cloud-init (0.7.9-2+deb9u1) stretch; urgency=medium + + * Remove non-free and contrib from sources.list debian template. + + -- Thomas Goirand <z...@debian.org> Wed, 02 Aug 2017 20:28:11 +0200 + cloud-init (0.7.9-2) unstable; urgency=medium * Add net-tools as runtime depends (Closes: #853926). diff -Nru cloud-init-0.7.9/debian/patches/0004-debian-sources.list.patch cloud-init-0.7.9/debian/patches/0004-debian-sources.list.patch --- cloud-init-0.7.9/debian/patches/0004-debian-sources.list.patch 2017-02-02 14:23:41.000000000 +0100 +++ cloud-init-0.7.9/debian/patches/0004-debian-sources.list.patch 2017-08-02 20:28:10.000000000 +0200 @@ -1,17 +1,39 @@ -From 32dd02b4cce53db2e39a1ba62806f7db5d152095 Mon Sep 17 00:00:00 2001 +From 1351a2fba9e74492e790f184a36a2fff978a8984 Mon Sep 17 00:00:00 2001 From: Charles Plessy <ple...@debian.org> Date: Mon, 21 Nov 2016 19:10:47 +0100 Subject: debian-sources.list Forwarded: https://bugs.launchpad.net/cloud-init/+bug/1627293 --- - templates/sources.list.debian.tmpl | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) + templates/sources.list.debian.tmpl | 18 ++++++++---------- + 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/templates/sources.list.debian.tmpl b/templates/sources.list.debian.tmpl -index c8043f76..f4188c73 100644 +index c8043f76..8b119ad4 100644 --- a/templates/sources.list.debian.tmpl +++ b/templates/sources.list.debian.tmpl +@@ -10,15 +10,15 @@ + + # See http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.html + # for how to upgrade to newer versions of the distribution. +-deb {{mirror}} {{codename}} main contrib non-free +-deb-src {{mirror}} {{codename}} main contrib non-free ++deb {{mirror}} {{codename}} main ++deb-src {{mirror}} {{codename}} main + + ## Major bug fix updates produced after the final release of the + ## distribution. +-deb {{security}} {{codename}}/updates main contrib non-free +-deb-src {{security}} {{codename}}/updates main contrib non-free +-deb {{mirror}} {{codename}}-updates main contrib non-free +-deb-src {{mirror}} {{codename}}-updates main contrib non-free ++deb {{security}} {{codename}}/updates main ++deb-src {{security}} {{codename}}/updates main ++deb {{mirror}} {{codename}}-updates main ++deb-src {{mirror}} {{codename}}-updates main + + ## Uncomment the following two lines to add software from the 'backports' + ## repository. @@ -26,7 +26,5 @@ deb-src {{mirror}} {{codename}}-updates main contrib non-free ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes diff -Nru cloud-init-0.7.9/debian/README.Debian cloud-init-0.7.9/debian/README.Debian --- cloud-init-0.7.9/debian/README.Debian 2017-02-02 14:23:41.000000000 +0100 +++ cloud-init-0.7.9/debian/README.Debian 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -cloud-init is a tool for early initialization of servers, - usually in a cloud environment. - -It can be used to set the hostname, configure SSH and APT repositories, - add users, install and configure services, ... - -See https://cloudinit.readthedocs.io/en/stable/ - - -- Nicolas Braud-Santoni <nico...@braud-santoni.eu>, Sat, 24 Sep 2016 14:13:24 +0200