]> git.proxmox.com Git - mirror_zfs.git/commit
Add `cut` binary to the initramfs
authorBen Cordero <bencord0@condi.me>
Thu, 13 Dec 2018 23:48:46 +0000 (23:48 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 13 Dec 2018 23:48:46 +0000 (15:48 -0800)
commiteff7d78f8a1e2c8c8a151b99ee7e66ad619b201c
tree1c69bfde2a66e41e4605d3ec4dc14a7411b07a7c
parent5aa95ba0d3502779695341b5f55fa5ba1d3330ff
Add `cut` binary to the initramfs

Since the `cut -b` command is used by `parse-zfs.sh`,
ensure that it is copied to the initramfs.

Fix spl_hostid when set by cmdline. This follows a
similar logic from the `zgenhostid` script, using `echo`
instead of `printf`.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ben Cordero <bencord0@condi.me>
Closes #8197
contrib/dracut/90zfs/module-setup.sh.in
contrib/dracut/90zfs/parse-zfs.sh.in