mirror_zfs/contrib/dracut/90zfs
Michal Vasilek 4ebda5d4d3 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-29 13:14:49 -07:00
..
.gitignore dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 10:50:16 -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 10:50:16 -07:00
Makefile.am dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 10:50:16 -07:00
module-setup.sh.in dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 10:50:16 -07:00
mount-zfs.sh.in Use %%/* instead of awk -F/ {print $1} to strip datasets 2021-06-09 13:05:34 -07:00
parse-zfs.sh.in Trim excess shellcheck annotations. Widen to all non-Korn scripts 2021-06-08 14:46:31 -07:00
zfs-env-bootfs.service.in dracut: Support /usr/bin as 'systemctl' path 2021-01-21 12:59:24 -08:00
zfs-generator.sh.in Trim excess shellcheck annotations. Widen to all non-Korn scripts 2021-06-08 14:46:31 -07:00
zfs-lib.sh.in Fix plymouth passphrase prompt with dracut 2021-06-29 13:14:49 -07:00
zfs-load-key.sh.in Use %%/* instead of awk -F/ {print $1} to strip datasets 2021-06-09 13:05:34 -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 contrib/dracut: 90: zfs-{rollback,snapshot}-bootfs: use @sbindir@ 2021-04-19 15:22:57 -07:00
zfs-snapshot-bootfs.service.in contrib/dracut: 90: zfs-{rollback,snapshot}-bootfs: use @sbindir@ 2021-04-19 15:22:57 -07:00