summaryrefslogtreecommitdiff
path: root/helpers/chroot_hacks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-07-15 00:41:33 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:14 +0100
commitd98924ed31ba62ea845f34414c2ae9807be20195 (patch)
treeace907a413848d3c8568eb8a5bdb464d68a239ef /helpers/chroot_hacks
parent0a13b4f8b3585c1fb28d0c0acfa4a1c90016ca56 (diff)
downloadlive-build-d98924ed31ba62ea845f34414c2ae9807be20195.zip
live-build-d98924ed31ba62ea845f34414c2ae9807be20195.tar.gz
Truncating apts term.log to.
Diffstat (limited to 'helpers/chroot_hacks')
-rwxr-xr-xhelpers/chroot_hacks2
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers/chroot_hacks b/helpers/chroot_hacks
index 22f03d3..c417ac5 100755
--- a/helpers/chroot_hacks
+++ b/helpers/chroot_hacks
@@ -174,6 +174,8 @@ 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-