zfsonlinux/zfs-patches/0025-Add-missing-zfs-dracut-RPM-dependencies.patch
Stoiko Ivanov a010b40938 update/rebase to zfs-0.7.10 with patches from ZOL
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-09-13 08:54:51 +02:00

43 lines
1.4 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Brian Behlendorf <behlendorf1@llnl.gov>
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) <rudd-o@rudd-o.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7729
Closes #7747
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
---
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