]> granicus.if.org Git - zfs/commitdiff
Add missing zfs-dracut RPM dependencies
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 31 Jul 2018 17:17:44 +0000 (10:17 -0700)
committerTony Hutter <hutter2@llnl.gov>
Fri, 6 Jul 2018 09:46:51 +0000 (02:46 -0700)
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

rpm/generic/zfs.spec.in

index 5b89db021f77042a5c4988fae7c046a5b06d3b96..398221c60e6dbb3707bc0d138f21231bc795c581 100644 (file)
@@ -196,7 +196,7 @@ Requires:       acl
 Requires:       sudo
 Requires:       sysstat
 Requires:       rng-tools
-Requires:      libaio
+Requires:       libaio
 AutoReqProv:    no
 
 %description test
@@ -208,6 +208,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