diff options
Diffstat (limited to 'export-image/02-set-sources')
| -rwxr-xr-x | export-image/02-set-sources/01-run.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/export-image/02-set-sources/01-run.sh b/export-image/02-set-sources/01-run.sh new file mode 100755 index 0000000..5f51209 --- /dev/null +++ b/export-image/02-set-sources/01-run.sh @@ -0,0 +1,9 @@ +#!/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 |
