Clean before installing packages
This commit is contained in:
parent
597374cf8c
commit
de97e32c36
|
@ -740,6 +740,9 @@ case "$MACHINE" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
set_apt_sources $BUILD_MIRROR
|
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
|
chroot "$rootdir" apt-get update
|
||||||
|
|
||||||
cat > $rootdir/usr/sbin/policy-rc.d <<EOF
|
cat > $rootdir/usr/sbin/policy-rc.d <<EOF
|
||||||
|
|
Loading…
Reference in New Issue