]> git.proxmox.com Git - zfsonlinux.git/blob - zfs-patches/0025-Add-missing-zfs-dracut-RPM-dependencies.patch
update/rebase to zfs-0.7.10 with patches from ZOL
[zfsonlinux.git] / zfs-patches / 0025-Add-missing-zfs-dracut-RPM-dependencies.patch
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
5
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.
9
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>
13 Closes #7729
14 Closes #7747
15
16 Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
17 ---
18 rpm/generic/zfs.spec.in | 4 +++-
19 1 file changed, 3 insertions(+), 1 deletion(-)
20
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
26 Requires: sudo
27 Requires: sysstat
28 Requires: rng-tools
29 -Requires: libaio
30 +Requires: libaio
31 AutoReqProv: no
32
33 %description test
34 @@ -208,6 +208,8 @@ Summary: Dracut module
35 Group: System Environment/Kernel
36 Requires: %{name}%{?_isa} = %{version}-%{release}
37 Requires: dracut
38 +Requires: /usr/bin/awk
39 +Requires: grep
40
41 %description dracut
42 This package contains a dracut module used to construct an initramfs