]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(dmsquash-live): option to use overlayfs on a block device root
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Fri, 3 Dec 2021 16:48:03 +0000 (11:48 -0500)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sat, 11 Dec 2021 16:05:02 +0000 (11:05 -0500)
commit813577e2ba034b448d2cf2d2857b2d20d56c0259
tree596ed99edf56bb8dd1cc3f9939ca520d8ca29c2f
parent7de9ffc0574790ecbad74b5a000ecd022d7736d4
fix(dmsquash-live): option to use overlayfs on a block device root

An example kernel command line option for this configuration
root=/dev/sda1 ro rd.live.image rd.live.overlay.overlayfs=1

The change checks if $FSIMG is empty and adds a symlink from
/run/rootfsbase to /run/initramfs/live and changes the place
of the creation of the required mount point directories.
modules.d/90dmsquash-live/dmsquash-live-root.sh