Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
systemctl: make sure the kernel is loaded before kexec'ing
We just load the same kernel that would be loaded by default by sd-boot, with the same options. Changing the kernel or initramfs or options is left for later. Now we will refuse to continue if loading fails. This makes 'systemctl kexec' more predictable: it will not fall back to normal reboot if the kernel is not loaded.
- Loading branch information
Showing
1 changed file
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters