From 8579f58f68893c2baaafc21764e9f61d1fb35c45 Mon Sep 17 00:00:00 2001 From: Rudra Saraswat Date: Thu, 2 Apr 2026 17:53:01 +0100 Subject: [PATCH] fix: remount rootfs as rw during update --- usr/lib/dracut/modules.d/10akshara/handle-update.sh | 3 +++ 1 file changed, 3 insertions(+) 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