mirror_zfs/contrib/dracut/90zfs
Steffen Müthing 3c28c63642 Install basename utility into dracut initramfs
vdev_id requires the program `basename` when handling short aliases
defined in `vdev_id.conf` (those defined without a leading path), but
`basename` is not always available in the dracut environment. This
causes the pool device names to change when using `by-vdev/` devices
or (in extreme cases) can make the pool import fail in dracut.

This commit fixes the problem by explicitly installing `basename`.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Steffen Müthing <steffen.muething@iwr.uni-heidelberg.de>
Closes #7562
2018-05-29 17:32:05 -07:00
..
.gitignore Add zfs-load-key.sh to .gitignore 2018-02-06 16:39:18 -08:00
export-zfs.sh.in Shellcheck cleanup for initrd scripts 2018-02-23 12:57:41 -08:00
Makefile.am Run zfs load-key if needed in dracut 2018-01-18 10:20:34 -08:00
module-setup.sh.in Install basename utility into dracut initramfs 2018-05-29 17:32:05 -07:00
mount-zfs.sh.in modprobe zfs during dracut mount 2018-03-22 10:14:29 -07:00
parse-zfs.sh.in Shellcheck cleanup for initrd scripts 2018-02-23 12:57:41 -08:00
zfs-generator.sh.in Shellcheck cleanup for initrd scripts 2018-02-23 12:57:41 -08:00
zfs-lib.sh.in Shellcheck cleanup for initrd scripts 2018-02-23 12:57:41 -08:00
zfs-load-key.sh.in Shellcheck cleanup for initrd scripts 2018-02-23 12:57:41 -08:00
zfs-needshutdown.sh.in Run zfs load-key if needed in dracut 2018-01-18 10:20:34 -08:00