If kdump is not using a network target, dracut-network is not needed.
If kdump is using a network target, and dracut-network is not installed,
kdumpctl service sill simply fail with:
dracut: dracut module 'kdumpbase' depends on 'nfs', which can't be
installed
dracut: dracut module 'kdumpbase' cannot be found or installed.
Which indicates the dracut-network is missing and need to be installed.
Signed-off-by: Kairui Song <kasong(a)redhat.com>
---
kexec-tools.spec | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kexec-tools.spec b/kexec-tools.spec
index 5dbf6255..0db5b7d2 100644
--- a/kexec-tools.spec
+++ b/kexec-tools.spec
@@ -66,8 +66,7 @@ Requires(post): servicelog
%endif
Requires(pre): coreutils sed zlib
Requires: dracut >= 050
-Requires: dracut-network >= 050
-Requires: dracut-squash >= 050
+Requires: dracut-squash
Requires: ethtool
Recommends: grubby
BuildRequires: make
--
2.31.1