Skip to content

Commit

Permalink
export-image: get apt lists from public repo
Browse files Browse the repository at this point in the history
  • Loading branch information
XECDesign committed Nov 17, 2020
1 parent 6c21cc1 commit 0f59f00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions export-image/01-set-sources/01-run.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion export-image/04-finalise/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f59f00

Please sign in to comment.