dracut: Install commands required for vdev_id

The vdev_id script requires awk, grep, and head.  Use dracut_install to
ensure that these commands are available in the initrd environment.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Karsten Kretschmer <kkretschmer@gmail.com>
Closes #6443
Closes #6452
This commit is contained in:
Karsten Kretschmer 2017-08-04 20:14:48 +02:00 committed by Brian Behlendorf
parent 1e1c398033
commit d19a6d5c80
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ install() {
fi
dracut_install @sbindir@/mount.zfs
dracut_install @udevdir@/vdev_id
dracut_install awk
dracut_install head
dracut_install @udevdir@/zvol_id
inst_hook cmdline 95 "${moddir}/parse-zfs.sh"
if [ -n "$systemdutildir" ] ; then