From de97e32c3600d828744d32307261856e2206f649 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 28 Jan 2016 10:11:28 +0000 Subject: [PATCH] Clean before installing packages --- src/freedombone-image-customise | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index d556d87b..45afd9e8 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -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 <