[elbe-devel] [PATCH] remove apt-listchanges from extra deboostrap pkgs

Manuel Traut manut at linutronix.de
Fri Jan 5 10:16:10 CET 2018


remove apt-listchanges from the chroot. It was added, because it is
needed by newer python-apt versions to work.

However it is not needed by the pyth0n-apt version used inside the initvm and
it results in additional packages in the target image that haven't been
there with elbe 1.x

However this breaks using 'elbe buildchroot' etc. on sid, maybe stretch.
I haven't tested that.
See https://github.com/Linutronix/elbe/issues/138 for details.

I recommend this change for 'devel/elbe-2.0' it is already in
'devel/elbe-3.0' where i picked it up.

Signed-off-by: Manuel Traut <manut at linutronix.de>
(cherry picked from commit 1f66a1e2b4bbe5b9ed9c5f2c6264f7598382e7f7)
---
 elbepack/rfs.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elbepack/rfs.py b/elbepack/rfs.py
index dca8d058..8dc3bed1 100644
--- a/elbepack/rfs.py
+++ b/elbepack/rfs.py
@@ -119,10 +119,10 @@ class BuildEnv ():
             # seems to ignore /etc/apt/trusted.gpg.d/elbe-keyring.gpg
             # 01/2017 manut
             if self.xml.has("project/noauth") or self.xml.has("project/mirror/cdrom"):
-                cmd = 'debootstrap --include=apt-listchanges --no-check-gpg --arch=%s "%s" "%s" "%s"' % (
+                cmd = 'debootstrap --no-check-gpg --arch=%s "%s" "%s" "%s"' % (
                             arch, suite, self.rfs.path, primary_mirror)
             else:
-                cmd = 'debootstrap --include=apt-listchanges --arch=%s "%s" "%s" "%s"' % (
+                cmd = 'debootstrap --arch=%s "%s" "%s" "%s"' % (
                             arch, suite, self.rfs.path, primary_mirror)
 
             try:
-- 
2.15.1




More information about the elbe-devel mailing list