aboutsummaryrefslogtreecommitdiffstats
path: root/rpm
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2018-07-31 10:17:44 -0700
committerGitHub <[email protected]>2018-07-31 10:17:44 -0700
commit3905caceaf21d4207ffff8a086e977f02cba7c0c (patch)
treed49835c27d09b271378aaaf147f0a2184e81cce5 /rpm
parent9b9d1adc38d14f0e01564b980662006589227f0a (diff)
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) <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #7729 Closes #7747
Diffstat (limited to 'rpm')
-rw-r--r--rpm/generic/zfs.spec.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in
index deca786f4..a0a8005a1 100644
--- a/rpm/generic/zfs.spec.in
+++ b/rpm/generic/zfs.spec.in
@@ -202,7 +202,7 @@ Requires: fio
Requires: acl
Requires: sudo
Requires: sysstat
-Requires: libaio
+Requires: libaio
AutoReqProv: no
%description test
@@ -214,6 +214,8 @@ Summary: Dracut module
Group: System Environment/Kernel
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: dracut
+Requires: /usr/bin/awk
+Requires: grep
%description dracut
This package contains a dracut module used to construct an initramfs