summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-07-15 00:53:30 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:14 +0100
commitd59d26b1eab24fa58fcb70c76b66f1d949796dd9 (patch)
treeb785a80e383644b51e264f888b3c481f6fb33071 /helpers
parentd98924ed31ba62ea845f34414c2ae9807be20195 (diff)
downloadlive-build-d59d26b1eab24fa58fcb70c76b66f1d949796dd9.zip
live-build-d59d26b1eab24fa58fcb70c76b66f1d949796dd9.tar.gz
Removing apt log instead of truncating it, this is an additional file over a bootstrapped chroot.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/chroot_hacks3
1 files changed, 1 insertions, 2 deletions
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