mirror_zfs/contrib/dracut/90zfs
Michal Vasilek f20fb199e6
Fix plymouth passphrase prompt with dracut
plymouth --command splits the command on spaces which means
that zfs-load-key was getting the filesystem name enclosed
in single quotes (since 13c59bb76) and failing. This commit
fixes it by piping the password directly to the command
similar to how it's done in other scripts (initramfs,
dracut without plymouth).

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Michal Vasilek <michal@vasilek.cz>
Related-to: #9193
Related-to: #9202
Closes #12147
2021-06-25 22:43:25 -07:00
..
.gitignore dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 09:26:37 -07:00
export-zfs.sh.in dracut: use /bin/sh instead of bash as the intepreter 2020-11-28 11:02:08 -08:00
import-opts-generator.sh.in dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 09:26:37 -07:00
Makefile.am dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 09:26:37 -07:00
module-setup.sh.in dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 09:26:37 -07:00
mount-zfs.sh.in Use %%/* instead of awk -F/ {print $1} to strip datasets 2021-06-04 14:01:08 -07:00
parse-zfs.sh.in Trim excess shellcheck annotations. Widen to all non-Korn scripts 2021-05-20 08:55:23 -07:00
zfs-env-bootfs.service.in libzfs: add keylocation=https://, backed by fetch(3) or libcurl 2021-05-12 21:21:35 -07:00
zfs-generator.sh.in Trim excess shellcheck annotations. Widen to all non-Korn scripts 2021-05-20 08:55:23 -07:00
zfs-lib.sh.in Fix plymouth passphrase prompt with dracut 2021-06-25 22:43:25 -07:00
zfs-load-key.sh.in dracut: 90zfs: zfs-load-key: wait for key to appear for up to 10 seconds 2021-06-04 14:01:08 -07:00
zfs-needshutdown.sh.in dracut: use /bin/sh instead of bash as the intepreter 2020-11-28 11:02:08 -08:00
zfs-rollback-bootfs.service.in libzfs: add keylocation=https://, backed by fetch(3) or libcurl 2021-05-12 21:21:35 -07:00
zfs-snapshot-bootfs.service.in libzfs: add keylocation=https://, backed by fetch(3) or libcurl 2021-05-12 21:21:35 -07:00