diff options
author | Karsten Kretschmer <[email protected]> | 2017-08-04 20:14:48 +0200 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2017-08-07 09:37:30 -0700 |
commit | 8eb6dcec7dd79f35b75e729ed7ca738b28b32c66 (patch) | |
tree | d79c7fb86aab9cb402b079df40d6994ff332a598 /contrib/dracut/90zfs/module-setup.sh.in | |
parent | 07cbcd5089d65a5b8b9769a412833747f045530c (diff) |
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 <[email protected]>
Signed-off-by: Karsten Kretschmer <[email protected]>
Closes #6443
Closes #6452
Diffstat (limited to 'contrib/dracut/90zfs/module-setup.sh.in')
-rwxr-xr-x | contrib/dracut/90zfs/module-setup.sh.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/dracut/90zfs/module-setup.sh.in b/contrib/dracut/90zfs/module-setup.sh.in index a653b50f4..9bbee0e57 100755 --- a/contrib/dracut/90zfs/module-setup.sh.in +++ b/contrib/dracut/90zfs/module-setup.sh.in @@ -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 |