Prevent mount-fix from being upgraded

- Prevent the mount-fix package from being upgraded.
This commit is contained in:
Cameron Thompson
2025-01-20 15:15:20 -05:00
parent 608cc1c19f
commit cb0cfd7e60

View File

@@ -1,5 +1,11 @@
#!/bin/ash
if grep -qs '/real_rootfs' /proc/mounts; then
echo "This package is meant to be installed once after a clean flash."
echo "You should not upgrade or reinstall it. Flash first then run the toolkit otherwise."
exit 1
fi
# Remount original rootfs as read-write
echo "Mounting / as read-write"
mount -o remount,rw /