]> git.proxmox.com Git - mirror_zfs.git/commit
Fix Plymouth passphrase prompt in initramfs script
authorRichard Allen <33836503+belperite@users.noreply.github.com>
Tue, 27 Aug 2019 20:44:02 +0000 (21:44 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 27 Aug 2019 20:44:02 +0000 (13:44 -0700)
commitf335b8ffe178276c7a98bdc87965a3dc9e2b59f5
tree0181d98d8ca8dd5a822cdf254db1dcc7906ea4e3
parente7a2fa70c3b0d8c8cee2b484038bb5623c7c1ea9
Fix Plymouth passphrase prompt in initramfs script

Entering the ZFS encryption passphrase under Plymouth wasn't working
because in the ZFS initrd script, Plymouth was calling zfs via
"--command", which wasn't passing through the filesystem argument to
zfs load-key properly (it was passing through the single quotes around
the filesystem name intended to handle spaces literally,
which zfs load-key couldn't understand).

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Garrett Fields <ghfields@gmail.com>
Signed-off-by: Richard Allen <belperite@gmail.com>
Issue #9193
Closes #9202
contrib/initramfs/scripts/zfs.in