clic-rpi-image/export-image/02-set-sources/01-run.sh
2022-03-21 08:37:25 +00:00

9 lines
195 B
Bash
Executable file

#!/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
apt-get clean
EOF