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 <