Browse Source

Clean before installing packages

Bob Mottram 9 years ago
parent
commit
de97e32c36
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-image-customise

+ 3
- 0
src/freedombone-image-customise View File

740
 esac
740
 esac
741
 
741
 
742
 set_apt_sources $BUILD_MIRROR
742
 set_apt_sources $BUILD_MIRROR
743
+chroot "$rootdir" apt-get clean
744
+chroot "$rootdir" rm -rf /var/lib/apt/lists/*
745
+chroot "$rootdir" apt-get clean
743
 chroot "$rootdir" apt-get update
746
 chroot "$rootdir" apt-get update
744
 
747
 
745
 cat > $rootdir/usr/sbin/policy-rc.d <<EOF
748
 cat > $rootdir/usr/sbin/policy-rc.d <<EOF