diff options
author | Karsten Kretschmer <[email protected]> | 2017-08-04 20:14:48 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-08-04 11:14:48 -0700 |
commit | d19a6d5c80fb24451a7d76716eaf38d3a3f933c7 (patch) | |
tree | 2e1ab6c92bdf0742481d02060c73fd609483d238 /contrib/dracut | |
parent | 1e1c398033384106c8ee96435ba0683797b41a46 (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')
-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 |