aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/dracut/90zfs
diff options
context:
space:
mode:
authorGeorge Diamantopoulos <[email protected]>2018-07-17 01:11:36 +0300
committerBrian Behlendorf <[email protected]>2018-07-27 09:29:43 -0700
commitfb7307b8922e9eb7da430733d6665e06d2cb0bf5 (patch)
treeb98f15f64fcb5374f7e9e98004d1841d40bafdc3 /contrib/dracut/90zfs
parent5fadb7fb0cc7429609f74c7f2221db882231fe3b (diff)
Fix initramfs missing systemd binaries
Systemd binaries necessary for mounting an encrypted root dataset weren't copied to initramfs generated by dracut. This patch fixes this and copies these binaries unconditionally, that is regardless of whether native ZFS encryption is used for the root dataset. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: George Diamantopoulos <[email protected]> Closes #7607 Closes #7719
Diffstat (limited to 'contrib/dracut/90zfs')
-rwxr-xr-xcontrib/dracut/90zfs/module-setup.sh.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/dracut/90zfs/module-setup.sh.in b/contrib/dracut/90zfs/module-setup.sh.in
index 4e2edf1e8..19b763a3c 100755
--- a/contrib/dracut/90zfs/module-setup.sh.in
+++ b/contrib/dracut/90zfs/module-setup.sh.in
@@ -97,5 +97,7 @@ install() {
type mark_hostonly >/dev/null 2>&1 && mark_hostonly @systemdunitdir@/zfs-import-$_item.service
fi
done
+ dracut_install systemd-ask-password
+ dracut_install systemd-tty-ask-password-agent
fi
}