[SCM] debian-live branch, master, updated. 1.0_a48-1-99-gd4f9285
Chris Lamb
chris at chris-lamb.co.uk
Sun Aug 17 06:50:42 UTC 2008
The following commit has been merged in the master branch:
commit 4a1a00e1d420283559c30d95e6ef82dcfedd8bc2
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date: Sun Aug 17 05:58:59 2008 +0100
Remove automatically installed packages when installing helpers.
This was causing a bug where "grub-common"--a dependency of grub--was remaining
in the binary build chroot after the grub tool was removed. This then resulted
in it not being included in the d-i debs in lh_binary_debian-installer.
Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>
diff --git a/functions/packages.sh b/functions/packages.sh
index 034f571..b3c15e2 100755
--- a/functions/packages.sh
+++ b/functions/packages.sh
@@ -51,6 +51,11 @@ Remove_package ()
case "${LH_APT}" in
apt|apt-get)
Chroot "apt-get remove --purge --yes ${PACKAGES}"
+
+ if [ "${LH_DISTRIBUTION}" != "etch" ]
+ then
+ Chroot "apt-get autoremove --purge --yes"
+ fi
;;
aptitude)
--
debian-live
More information about the debian-live-changes
mailing list