1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Brian Behlendorf <behlendorf1@llnl.gov>
3 Date: Tue, 31 Jul 2018 10:17:44 -0700
4 Subject: [PATCH] Add missing zfs-dracut RPM dependencies
6 The zfs-dracut package requires the hostid, basename, head, awk,
7 and grep utilities be installed. The first three are provided by
8 coreutils but additional dependencies are required for awk and grep.
10 Reviewed-by: Manuel Amador (Rudd-O) <rudd-o@rudd-o.com>
11 Reviewed-by: Tony Hutter <hutter2@llnl.gov>
12 Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
16 Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
18 rpm/generic/zfs.spec.in | 4 +++-
19 1 file changed, 3 insertions(+), 1 deletion(-)
21 diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in
22 index 5b89db02..398221c6 100644
23 --- a/rpm/generic/zfs.spec.in
24 +++ b/rpm/generic/zfs.spec.in
25 @@ -196,7 +196,7 @@ Requires: acl
34 @@ -208,6 +208,8 @@ Summary: Dracut module
35 Group: System Environment/Kernel
36 Requires: %{name}%{?_isa} = %{version}-%{release}
38 +Requires: /usr/bin/awk
42 This package contains a dracut module used to construct an initramfs