Enable userconf-pi on first boot

This commit is contained in:
Serge Schneider
2022-03-18 17:03:26 +00:00
parent 95ac3cfb3b
commit b0316ae870
7 changed files with 6 additions and 0 deletions

View File

@@ -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