]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
feat: rename rd.overlayfs.readonly to rd.overlay.readonly
authorBenjamin Drung <benjamin.drung@canonical.com>
Sat, 24 Jan 2026 01:08:56 +0000 (02:08 +0100)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sun, 25 Jan 2026 13:53:15 +0000 (08:53 -0500)
Commit b77ae7eb8523da696fcb0f48a747ac22bdc9eb31 renamed
`rd.live.overlay.readonly` to `rd.overlayfs.readonly`. Unify the overlay
parameters into the `rd.overlay` namespace. There is no backward
compatibility support needed for `rd.overlayfs.readonly` since it hasn't
been part of a Dracut release.

man/dracut.cmdline.7.adoc
modules.d/70dmsquash-live/dmsquash-generator.sh
modules.d/70dmsquash-live/dmsquash-live-root.sh
modules.d/70livenet/livenet-generator.sh
modules.d/70overlayfs/mount-overlayfs.sh

index b545a5e59c09ea30423c61b6a1c8435720dc4d99..d6a2731850cfe80e99b458ae70046291dd604316 100644 (file)
@@ -1105,7 +1105,7 @@ d_type in readdir responses, such as with btrfs, ext4, f2fs, & xfs.  On
 non-vfat-formatted devices, a persistent OverlayFS overlay can extend the
 available root filesystem storage up to the capacity of the LiveOS disk device.
 +
-The **rd.overlayfs.readonly** option, which allows a persistent overlayfs to
+The **rd.overlay.readonly** option, which allows a persistent overlayfs to
 be mounted read-only through a higher level transient overlay directory, has
 been implemented through the multiple lower layers feature of OverlayFS.
 
@@ -1524,7 +1524,7 @@ EXT_KEYMAP:: vconsole.keymap.ext
 
 rd.live.overlay.overlayfs:: rd.overlayfs
 
-rd.live.overlay.readonly:: rd.overlayfs.readonly
+rd.live.overlay.readonly:: rd.overlay.readonly
 
 rd.live.overlay:: rd.overlay
 
index eadeaee38abc13605a5da55547c60e8bac11ccc9..ef6b072b7770bf7386db2e4ce010d48f36ab2826 100755 (executable)
@@ -45,7 +45,7 @@ GENERATOR_DIR="$2"
 [ -z "$GENERATOR_DIR" ] && exit 1
 [ -d "$GENERATOR_DIR" ] || mkdir -p "$GENERATOR_DIR"
 
-getargbool 0 rd.overlayfs.readonly -d rd.live.overlayfs.readonly && readonly_overlay="--readonly" || readonly_overlay=""
+getargbool 0 rd.overlay.readonly -d rd.live.overlayfs.readonly && readonly_overlay="--readonly" || readonly_overlay=""
 getargbool 0 rd.overlayfs -d rd.live.overlay.overlayfs && overlayfs="yes"
 [ -e /xor_overlayfs ] && xor_overlayfs="yes"
 [ -e /xor_readonly ] && xor_readonly="--readonly"
index b7256412f4f660abf093dcd8ccec71d0e1730b12..9829f0a998aa90ef8d3c0b9a45ff4d3abbbd441e 100755 (executable)
@@ -24,7 +24,7 @@ squash_image=$(getarg rd.live.squashimg)
 
 getargbool 0 rd.live.ram && live_ram="yes"
 getargbool 0 rd.overlay.reset -d rd.live.overlay.reset && reset_overlay="yes"
-getargbool 0 rd.overlayfs.readonly -d rd.live.overlay.readonly && readonly_overlay="--readonly" || readonly_overlay=""
+getargbool 0 rd.overlay.readonly -d rd.live.overlay.readonly && readonly_overlay="--readonly" || readonly_overlay=""
 getargbool 0 rd.live.overlay.nouserconfirmprompt && overlay_no_user_confirm_prompt="--noprompt" || overlay_no_user_confirm_prompt=""
 overlay=$(getarg rd.overlay -d rd.live.overlay)
 getargbool 0 rd.writable.fsimg && writable_fsimg="yes"
index 6aa0200cc8ea3f68884c6186b867163a58f9dcb3..cc4ca4d5fb8885d80757731661752d17cb8edfdc 100755 (executable)
@@ -49,7 +49,7 @@ GENERATOR_DIR="$2"
 
 [ -d "$GENERATOR_DIR" ] || mkdir -p "$GENERATOR_DIR"
 
-getargbool 0 rd.overlayfs.readonly -d rd.live.overlay.readonly && readonly_overlay="--readonly" || readonly_overlay=""
+getargbool 0 rd.overlay.readonly -d rd.live.overlay.readonly && readonly_overlay="--readonly" || readonly_overlay=""
 getargbool 0 rd.overlayfs -d rd.live.overlayfs.readonly && overlayfs="yes"
 [ -e /xor_overlayfs ] && xor_overlayfs="yes"
 [ -e /xor_readonly ] && xor_readonly="--readonly"
index dd09ba72548b7d907623c22d2d05bd9e0e5df2d9..a1593c04320b3dfdc6768fe62d27f4a656a58ec6 100755 (executable)
@@ -3,7 +3,7 @@
 command -v getarg > /dev/null || . /lib/dracut-lib.sh
 
 getargbool 0 rd.overlayfs -d rd.live.overlay.overlayfs && overlayfs="yes"
-getargbool 0 rd.overlayfs.readonly -d rd.live.overlayfs.readonly && readonly_overlay="--readonly" || readonly_overlay=""
+getargbool 0 rd.overlay.readonly -d rd.live.overlayfs.readonly && readonly_overlay="--readonly" || readonly_overlay=""
 
 if [ -n "$overlayfs" ]; then
     if [ -n "$readonly_overlay" ] && [ -h /run/overlayfs-r ]; then