From 0f59f0085a6ae8a60abbb97e27f944281a1b425f Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 17 Nov 2020 15:22:12 +0000 Subject: export-image: get apt lists from public repo --- export-image/01-set-sources/01-run.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'export-image/01-set-sources') 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 -- cgit v1.2.3