diff --git a/usr/lib/dracut/modules.d/10akshara/handle-update.sh b/usr/lib/dracut/modules.d/10akshara/handle-update.sh index a5373cc..a6b8b09 100755 --- a/usr/lib/dracut/modules.d/10akshara/handle-update.sh +++ b/usr/lib/dracut/modules.d/10akshara/handle-update.sh @@ -2,6 +2,9 @@ echo +# Attempt to remount rootfs as rw +mount -o remount,rw "$NEWROOT" >/dev/null 2>&1 || true + # Remove "$NEWROOT"/.successful-update if exists rm -f "$NEWROOT"/.successful-update "$NEWROOT"/.update