diff options
author | Daniel Baumann <daniel@debian.org> | 2010-07-15 00:41:33 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2010-07-15 00:41:33 +0200 |
commit | 2276b58332846afeec7cb80dec71e22c4871b5c0 (patch) | |
tree | ace907a413848d3c8568eb8a5bdb464d68a239ef | |
parent | 5a879f3a52450e61050530e033c2ae281529a59f (diff) | |
download | vyos-live-build-2276b58332846afeec7cb80dec71e22c4871b5c0.tar.gz vyos-live-build-2276b58332846afeec7cb80dec71e22c4871b5c0.zip |
Truncating apts term.log to.
-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 22f03d396..c417ac5a6 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- |