limine-bootloader / limine

Modern, advanced, portable, multiprotocol bootloader and boot manager.
https://limine-bootloader.org
BSD 2-Clause "Simplified" License
1.8k stars 136 forks source link

Set EFI variables inside configuration file #393

Open Loara opened 1 month ago

Loara commented 1 month ago

EFI variables can be used by a bootloader to pass information to the loaded OS (for example systemd defines an entire boot interface through EFI variables).

It would be very useful to allow users to set custom EFI variables inside the Limine configuration file, for example with a efi_variable option that could be used either globally and inside some (sub)menu multiple times.