summaryrefslogtreecommitdiff
path: root/sys-kernel/dracut/files/044-0002-systemd-initrd-add-initrd-root-device.target.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-11-24 00:29:28 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-11-24 00:29:28 +0000
commitcbefdc59f4331d3aa25152c37ddeb73b6e71f339 (patch)
treec36f1686884b49e194348ed6096c2a069d877b28 /sys-kernel/dracut/files/044-0002-systemd-initrd-add-initrd-root-device.target.patch
parent8b2df332991d0d24c8f4f1d9a11ec25441e4ede9 (diff)
preconfigure dracut, so we don't have to patch calamares, or pass ubercomplicated arguments while building the initramfs
Diffstat (limited to 'sys-kernel/dracut/files/044-0002-systemd-initrd-add-initrd-root-device.target.patch')
-rw-r--r--sys-kernel/dracut/files/044-0002-systemd-initrd-add-initrd-root-device.target.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-kernel/dracut/files/044-0002-systemd-initrd-add-initrd-root-device.target.patch b/sys-kernel/dracut/files/044-0002-systemd-initrd-add-initrd-root-device.target.patch
new file mode 100644
index 00000000..21cb6792
--- /dev/null
+++ b/sys-kernel/dracut/files/044-0002-systemd-initrd-add-initrd-root-device.target.patch
@@ -0,0 +1,24 @@
+From d4efc0aeeecc470d9a267b7f3c130f472488905c Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald@redhat.com>
+Date: Wed, 25 May 2016 15:06:29 +0200
+Subject: [PATCH] systemd-initrd: add initrd-root-device.target
+
+---
+ 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.10.2
+