This repository has been archived on 2024-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
clic-rpi-image/export-image/01-set-sources/01-run.sh
2020-11-17 15:22:12 +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