update and test script

This commit is contained in:
2025-07-04 06:54:39 -07:00
parent de34f5966d
commit e9e343bd6a
10 changed files with 182 additions and 8 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/sh
echo "[CHROOT] Inside Alpine rootfs"
echo "[CHROOT] Updating system..."
apk update
apk upgrade
echo "[CHROOT] Optional cleanup of packages"
# apk del some-unneeded-package
echo "[CHROOT] Cleaning apk cache..."
rm -rf /var/cache/apk/*
echo "[CHROOT] Done. Type 'exit' to return to host script."
exit