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 <behlendorf1@llnl.gov> Signed-off-by: George Diamantopoulos <georgediam@gmail.com> Closes #7607 Closes #7719
This commit is contained in:
parent
5fadb7fb0c
commit
fb7307b892
|
@ -97,5 +97,7 @@ install() {
|
||||||
type mark_hostonly >/dev/null 2>&1 && mark_hostonly @systemdunitdir@/zfs-import-$_item.service
|
type mark_hostonly >/dev/null 2>&1 && mark_hostonly @systemdunitdir@/zfs-import-$_item.service
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
dracut_install systemd-ask-password
|
||||||
|
dracut_install systemd-tty-ask-password-agent
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue