diff options
author | Daniel Baumann <daniel@debian.org> | 2010-07-15 00:41:33 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:14 +0100 |
commit | d98924ed31ba62ea845f34414c2ae9807be20195 (patch) | |
tree | ace907a413848d3c8568eb8a5bdb464d68a239ef /helpers | |
parent | 0a13b4f8b3585c1fb28d0c0acfa4a1c90016ca56 (diff) | |
download | live-build-d98924ed31ba62ea845f34414c2ae9807be20195.zip live-build-d98924ed31ba62ea845f34414c2ae9807be20195.tar.gz |
Truncating apts term.log to.
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/chroot_hacks | 2 |
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- |