HomeFreeBSD

Install basename utility into dracut initramfs

Description

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

Details

Provenance
Steffen Müthing <steffen.muething@iwr.uni-heidelberg.de>Authored on May 30 2018, 12:32 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 30 2018, 12:32 AM
Parents
rG93ce2b4ca5a4: Update build system and packaging
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG3c28c636424f: Install basename utility into dracut initramfs (authored by Steffen Müthing <steffen.muething@iwr.uni-heidelberg.de>).May 30 2018, 12:32 AM