/etc/init.d/kexec/ do not check for custom initrd in the ${BOOTPART} Reproducible: Always Steps to Reproduce: 1. rename initrd file to some non standard name (e.g.: "initramfs" - the default name of initrd from genkernel 2. check the ${initrdopt} in load_image() function while /etc/init.d/kexec start Actual Results: ${initrdopt} is empty. Expected Results: ${initrdopt} should contain "--initrd=/boot/initramfs"
Created attachment 207202 [details, diff] patch that fixes the problem
(In reply to comment #0) > /etc/init.d/kexec/ do not check for custom initrd in the ${BOOTPART} Uhm.. of course i meant: /etc/init.d/kexec
Thanks for posting your fix, assigning to maintainers.
Closing as worksforme since the current init script should work fine. You should set INITRD="/boot/initramfs-file-name" instead of INITRD="initramfs-file-name" in /etc/conf.d/kexec.