export-image: get apt lists from public repo

This commit is contained in:
Serge Schneider
2020-11-17 15:22:12 +00:00
parent 6c21cc1e4d
commit 0f59f0085a
2 changed files with 2 additions and 1 deletions

View File

@@ -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