Add missing zfs-dracut RPM dependencies

The zfs-dracut package requires the hostid, basename, head, awk,
and grep utilities be installed.  The first three are provided by
coreutils but additional dependencies are required for awk and grep.

Reviewed-by: Manuel Amador (Rudd-O) <rudd-o@rudd-o.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7729
Closes #7747
This commit is contained in:
Brian Behlendorf 2018-07-31 10:17:44 -07:00 committed by Tony Hutter
parent 778290d5bc
commit c1629734ab
1 changed files with 3 additions and 1 deletions

View File

@ -196,7 +196,7 @@ Requires: acl
Requires: sudo Requires: sudo
Requires: sysstat Requires: sysstat
Requires: rng-tools Requires: rng-tools
Requires: libaio Requires: libaio
AutoReqProv: no AutoReqProv: no
%description test %description test
@ -208,6 +208,8 @@ Summary: Dracut module
Group: System Environment/Kernel Group: System Environment/Kernel
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: dracut Requires: dracut
Requires: /usr/bin/awk
Requires: grep
%description dracut %description dracut
This package contains a dracut module used to construct an initramfs This package contains a dracut module used to construct an initramfs