Am 23.09.23 um 00:26 schrieb Michael Biebl:
Am 22.09.23 um 21:40 schrieb Khalid Aziz:I want to change the behavior to: - No package config option to do automatic kexec reboot. - "reboot" command causes a cold reboot- Use "kexec-reboot" command to do a kexec reboot. "kexec-reboot" is a script installed by kexec-tools package. - kexec-tools package no longer provides coldreboot script which is no longer necessary.Any comments/feedback? I intend to proceed with implementing new behavior next week after Wednesday unless there are objections or other ideas.I assume you are aware of https://github.com/systemd/systemd/issues/15029 ?
I.e., one option to address this would be if we generated boot loader entries following the the boot loader spec:
https://uapi-group.org/specifications/specs/boot_loader_specification/ Then "systemctl kexec" should work ootb.A kexec-reboot script, which pre-loads the kernel and then calls systemctl reboot would certainly not hurt, though, as additional option.
Michael
OpenPGP_signature.asc
Description: OpenPGP digital signature