diff options
-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- |