From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 31 Jul 2018 10:17:44 -0700 Subject: [PATCH] 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) Reviewed-by: Tony Hutter Signed-off-by: Brian Behlendorf Closes #7729 Closes #7747 Signed-off-by: Stoiko Ivanov --- rpm/generic/zfs.spec.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index 5b89db02..398221c6 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -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