Clean before installing packages

This commit is contained in:
Bob Mottram 2016-01-28 10:11:28 +00:00
parent 597374cf8c
commit de97e32c36
1 changed files with 3 additions and 0 deletions

View File

@ -740,6 +740,9 @@ case "$MACHINE" in
esac
set_apt_sources $BUILD_MIRROR
chroot "$rootdir" apt-get clean
chroot "$rootdir" rm -rf /var/lib/apt/lists/*
chroot "$rootdir" apt-get clean
chroot "$rootdir" apt-get update
cat > $rootdir/usr/sbin/policy-rc.d <<EOF