proposal: rc.6 patch to support kexec reboots
by a_biardi from LinuxQuestions.org on (#5SSAB)
Hi,
The -current kernel has been built with CONFIG_KEXEC=y for quite some time; while the userland tools are not included in the stock distribution (kexec-tools is only a short stroll away, at slackbuilds.org), using kexec requires one to modify rc.6 to invoke kexec -e instead of reboot at the very end.
I see other people in the forum asking how to use kexec for kernel upgrades, etc.
Would it be possible to include the attached (tiny and non-invasive) patch in -current?
(the patch should be self-explanatory; the usecase would be "kexec --load [...]" followed by a standard "reboot" so that the proper shutdown scripts are executed).
Thanks
Andrea.
The -current kernel has been built with CONFIG_KEXEC=y for quite some time; while the userland tools are not included in the stock distribution (kexec-tools is only a short stroll away, at slackbuilds.org), using kexec requires one to modify rc.6 to invoke kexec -e instead of reboot at the very end.
I see other people in the forum asking how to use kexec for kernel upgrades, etc.
Would it be possible to include the attached (tiny and non-invasive) patch in -current?
(the patch should be self-explanatory; the usecase would be "kexec --load [...]" followed by a standard "reboot" so that the proper shutdown scripts are executed).
Thanks
Andrea.