]> granicus.if.org Git - zfs/commit
Make initramfs-tools script encryption aware
authorGarrett Fields <ghfields@gmail.com>
Fri, 9 Nov 2018 19:30:09 +0000 (14:30 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 9 Nov 2018 19:30:09 +0000 (11:30 -0800)
commit0500bfd0b9f1393af5bae274551147c5b31e7ccc
tree84f4afcb6474017f6f8de30dcaab46b0a55fd457
parentd48091de81e5eab2aa32d7a52db4f147bd813523
Make initramfs-tools script encryption aware

Changed decrypt_fs zfs command to "load-key"
Plymouth case code based on "contrib/dracut/90zfs/zfs-lib.sh.in"
Systemd case based on "contrib/dracut/90zfs/zfs-load-key.sh.in"
Cleaned up misspelling of "available" throughout

Code style fixes
Single quote for ${ENCRYPTIONROOT}
Changed "${DECRYPT_CMD}"  to "eval ${DECRYPT_CMD}"

Reviewed-by: Kash Pande <kash@tripleback.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: Garrett Fields <ghfields@gmail.com>
Closes #8093
contrib/initramfs/scripts/zfs.in