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 GitHub
parent 9b9d1adc38
commit 3905caceaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,6 +214,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