diff options
author | Serge Schneider <[email protected]> | 2020-11-17 15:22:12 +0000 |
---|---|---|
committer | Serge Schneider <[email protected]> | 2020-11-17 15:22:12 +0000 |
commit | 0f59f0085a6ae8a60abbb97e27f944281a1b425f (patch) | |
tree | a85f8b563c2900a10b7b59ce9bc6f720f0c04c9a /export-image | |
parent | 6c21cc1e4ddcf177b7bcf584e23cad734ea5d7e3 (diff) |
export-image: get apt lists from public repo
Diffstat (limited to 'export-image')
-rwxr-xr-x | export-image/01-set-sources/01-run.sh | 2 | ||||
-rwxr-xr-x | export-image/04-finalise/01-run.sh | 1 |
2 files changed, 2 insertions, 1 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 diff --git a/export-image/04-finalise/01-run.sh b/export-image/04-finalise/01-run.sh index 0864639..91264e5 100755 --- a/export-image/04-finalise/01-run.sh +++ b/export-image/04-finalise/01-run.sh @@ -16,7 +16,6 @@ if [ -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config" ]; then chmod 700 "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config" fi -rm -f "${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache" rm -f "${ROOTFS_DIR}/usr/bin/qemu-arm-static" if [ "${USE_QEMU}" != "1" ]; then |