systemd-initrd: install new initrd-root-device.target
PATCH 1/1 systemd-initrd: install new initrd-root-device.target
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(+)
modules.d/01systemd-initrd/module-setup.sh +1 -0
@@ -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 \
Signature · 1 line
2.7.4
Patchset imported to github.
Pull request:
<https://github.com/haraldh/dracut/compare/master...dracut-mailing-devs:1463087474-22316-1-git-send-email-drake%40endlessm.com>