On 08/10/20 at 02:34pm, Kairui Song wrote:
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 V2:
- Don't error out if DEFAULT_INITRD is not found, so if the kernel is
installed without initramfs kdump will also work.
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 | 73 ++++++++++++++++++++++--------
kdumpctl | 48 ++++++++++----------
kexec-tools.spec | 3 ++
6 files changed, 122 insertions(+), 59 deletions(-)
create mode 100755 60-kdump.install
--
2.26.2
_______________________________________________
kexec mailing list -- kexec(a)lists.fedoraproject.org
To unsubscribe send an email to kexec-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/kexec@lists.fedoraproject.org
Hi Kairui,
The patches work for me, thanks!
Acked-by: Dave Young <dyoung(a)redhat.com>
Lianbo, can you have a look at the earlykdump changes? make sure it
works.
Thanks
Dave