fix: remount rootfs as rw during update
This commit is contained in:
parent
6e2670db89
commit
8579f58f68
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue