clic-rpi-image/export-image/02-set-sources/01-run.sh

10 lines
195 B
Bash
Raw Normal View History

2016-05-05 18:43:33 +00:00
#!/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
2016-05-05 18:43:33 +00:00
apt-get update
apt-get -y dist-upgrade
apt-get clean
EOF