]> git.proxmox.com Git - mirror_zfs.git/commit
Fix for zfs-dracut regression
authordacianstremtan <35844628+dacianstremtan@users.noreply.github.com>
Tue, 1 Oct 2019 19:54:27 +0000 (15:54 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 1 Oct 2019 19:54:27 +0000 (12:54 -0700)
commitbd76e6817cb53ad621fc100d0ec01fcaacbb092e
treedf14c6520ab300a0b76d1914710c88ae9d59b8a2
parent608f8749a1055e6769899788e11bd51fd396f9e5
Fix for zfs-dracut regression

Line 31 and 32 overwrote the ${root} variable which broke mount-zfs.sh
We have create a new variable for the dataset instead of overwriting the
${root} variable in zfs-load-key.sh${root} variable in zfs-load-key.sh

Reviewed-by: Kash Pande <kash@tripleback.net>
Reviewed-by: Garrett Fields <ghfields@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Dacian Reece-Stremtan <dacianstremtan@gmail.com>
Closes #8913
Closes #9379
contrib/dracut/90zfs/zfs-load-key.sh.in