This patch series refactor kernel image and initrd detection, fix kdump
service failure on some Fedora machines which use
/boot/<machine-id>/<kver>/vmlinuz as kernel installation destination.
Also cover the atomic corner case properly by refering BOOT_IMAGE=
cmdline param for kernel image location.
Also introduce a kernel install hook to clean up the initramfs properly
on kernel uninstall.
Update from V1:
- Add the kdump initramfs clean up hook to make sure it work with
different kernel installation style.
Kairui Song (4):
Add a kernel install hook to clean up kdump initramfs
early-kdump: Use consistent symbol link for kernel and initramfs
Refactor kernel image and initrd detection code
kdump-lib.sh: Remove is_atomic
60-kdump.install | 30 ++++++++++++
dracut-early-kdump-module-setup.sh | 21 +++-----
dracut-early-kdump.sh | 6 +--
kdump-lib.sh | 78 +++++++++++++++++++++++-------
kdumpctl | 44 ++++++++---------
kexec-tools.spec | 3 ++
6 files changed, 123 insertions(+), 59 deletions(-)
create mode 100755 60-kdump.install
--
2.26.2
Show replies by thread