systemd has a new initramfs target useful for inserting custom initramfs code after the root device is available, before it has been checked and mounted. https://github.com/systemd/systemd/pull/3239 Make that available in dracut initramfs as standard. --- modules.d/01systemd-initrd/module-setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules.d/01systemd-initrd/module-setup.sh b/modules.d/01systemd-initrd/module-setup.sh index fb6a9ea..c1ccd2a 100755 --- a/modules.d/01systemd-initrd/module-setup.sh +++ b/modules.d/01systemd-initrd/module-setup.sh @@ -28,6 +28,7 @@ install() { inst_multiple -o \ $systemdsystemunitdir/initrd.target \ $systemdsystemunitdir/initrd-fs.target \ + $systemdsystemunitdir/initrd-root-device.target \ $systemdsystemunitdir/initrd-root-fs.target \ $systemdsystemunitdir/initrd-switch-root.target \ $systemdsystemunitdir/initrd-switch-root.service \ -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html