summaryrefslogtreecommitdiff
path: root/export-image/01-set-sources
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.com>2020-11-17 15:22:12 +0000
committerSerge Schneider <serge@raspberrypi.com>2020-11-17 15:22:12 +0000
commit0f59f0085a6ae8a60abbb97e27f944281a1b425f (patch)
treea85f8b563c2900a10b7b59ce9bc6f720f0c04c9a /export-image/01-set-sources
parent6c21cc1e4ddcf177b7bcf584e23cad734ea5d7e3 (diff)
export-image: get apt lists from public repo
Diffstat (limited to 'export-image/01-set-sources')
-rwxr-xr-xexport-image/01-set-sources/01-run.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/export-image/01-set-sources/01-run.sh b/export-image/01-set-sources/01-run.sh
index 86dea2d..5f51209 100755
--- a/export-image/01-set-sources/01-run.sh
+++ b/export-image/01-set-sources/01-run.sh
@@ -1,5 +1,7 @@
#!/bin/bash -e
+rm -f "${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache"
+find "${ROOTFS_DIR}/var/lib/apt/lists/" -type f -delete
on_chroot << EOF
apt-get update
apt-get -y dist-upgrade