touchprint/export-image/01-set-sources/01-run.sh

11 lines
207 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
set -e
2020-08-17 19:54:31 -04:00
rm -f "${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache"
find "${ROOTFS_DIR}/var/lib/apt/lists/" -type f -delete
2020-08-17 19:54:31 -04:00
on_chroot << EOF
apt-get update
apt-get -y dist-upgrade
apt-get clean
EOF