This resolves 1928031.
Currently we have a hard dependency on dracut-network, which is not
needed when network target is not used.
There have been multiple users complaining about kexec-tools slows first
kernel boot due to unconditionally pulls in dracut-network, and dracut
will install network manager into first initrd if this package is
present.
This series fixes the module dependency declaration so if kdump is
using a network target, and dracut-network is not installed, kdumpctl
service sill fail with:
dracut: dracut module 'kdumpbase' depends on 'nfs', which can't be
installed
Or:
dracut: dracut module 'kdumpbase' depends on 'network', which can't be
installed
Which indicates the dracut-network is missing and need to be installed.
Then dropped the dracut-network requirement in Fedora, so it won't get
pulled in for default installation.
Kairui Song (2):
dracut-module-setup.sh: depend on the right modules for different
targets
Drop requirement of dracut-network
dracut-module-setup.sh | 15 ++++++++++++++-
kexec-tools.spec | 3 +--
2 files changed, 15 insertions(+), 3 deletions(-)
--
2.31.1
Show replies by date