4 ms·
Which components are shared between userland and the UEFI environment?
by danellis 7y ago
Which components are shared between userland and the UEFI environment?
- qqssccfftt 7y agoWhatever magic is powering the ability to just run ``systemctl kexec`` and have it automatically reboot into the same kernel you selected at boot without going through UEFI again.
- yjftsjthsd-h 7y agokexec works fine if you invoke it directly and tell it what kernel+initrd to use, regardless of bootloader; if anything, I'd consider it a failing that systemd can't manage to control a kexec without controlling the bootloader as well
- pengaru 7y agoI don't really understand what you're asking. Edit: Do you mean the component that actually implements the boot loader? I'm not sure if there's any sharing there at this time, it's probably largely as-is from the gummiboot import. This isn't an area I've worked on personally, but you can poke around if you want: https://github.com/systemd/systemd/tree/master/src/boot/efi https://github.com/systemd/systemd/tree/master/src/boot/efi