[SCM] live-helper branch, debian-next, updated. debian/2.0_a18-1-5-ge3a35e2

Daniel Baumann daniel at debian.org
Wed Jul 14 22:54:28 UTC 2010


The following commit has been merged in the debian-next branch:
commit e3a35e239270d8fde091d676b797cc0c1d7ce330
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Jul 15 00:53:30 2010 +0200

    Removing apt log instead of truncating it, this is an additional file over a bootstrapped chroot.

diff --git a/helpers/chroot_hacks b/helpers/chroot_hacks
index c417ac5..abfda7c 100755
--- a/helpers/chroot_hacks
+++ b/helpers/chroot_hacks
@@ -174,14 +174,13 @@ find chroot/boot -name 'initrd*' -print0 | xargs -r -0 chmod go+r
 echo "0.0 0 0.0" > chroot/etc/adjtime
 
 # Remove cruft
-Truncate chroot/var/log/apt/term.log
-
 rm -f chroot/boot/initrd*bak*
 rm -f chroot/etc/apt/trusted.gpg~
 rm -f chroot/etc/group- chroot/etc/passwd-
 rm -f chroot/etc/gshadow- chroot/etc/shadow-
 rm -f chroot/var/cache/debconf/*-old
 rm -f chroot/var/lib/dpkg/*-old
+rm -f chroot/var/log/apt/term.log
 
 if [ -n "${LH_ROOT_COMMAND}" ]
 then

-- 
live-helper



More information about the debian-live-changes mailing list