fix: remount rootfs as rw during update

This commit is contained in:
Rudra Saraswat 2026-04-02 17:53:01 +01:00
parent 6e2670db89
commit 8579f58f68

View file

@ -2,6 +2,9 @@
echo echo
# Attempt to remount rootfs as rw
mount -o remount,rw "$NEWROOT" >/dev/null 2>&1 || true
# Remove "$NEWROOT"/.successful-update if exists # Remove "$NEWROOT"/.successful-update if exists
rm -f "$NEWROOT"/.successful-update "$NEWROOT"/.update rm -f "$NEWROOT"/.successful-update "$NEWROOT"/.update