touchprint/export-image/01-set-sources/01-run.sh
2021-01-13 20:28:54 -07:00

10 lines
207 B
Bash
Executable file

#!/usr/bin/env bash
set -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
apt-get clean
EOF