e667266a74d7bb3edab43ad63b5de76c6915e6b7
This extends the reboot-to-firmware logic in logind, so that other than EFI firmwares could be theoretically support. The scheme is like this: if you want to support this, set the $SYSTEMD_REBOOT_TO_FIRMWARE=1 env var for logind. If so, this will override the EFI logic, and cause a file /run/systemd/reboot-to-firmware file to be created when reboot-to-firmware is requested. This file has no contents, it's mere existance indicates a reboot with reboot-to-firmware set. The idea is that for alternative firmwares a drop-in for logind is added that sets the env var, in combination with some code run during shutdown that checks for the file and does the right thing.
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.
Languages
C
88.5%
Shell
5.7%
Python
4.6%
Meson
1.1%