]> git.ipfire.org Git - thirdparty/systemd.git/commit
Add support for SystemdOptions EFI var to augment /proc/cmdline
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Aug 2019 13:33:35 +0000 (15:33 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 16 Sep 2019 16:08:54 +0000 (18:08 +0200)
commit53aa0d02add93d8c0afa2772609372a2040c162a
treece98eaa014d4a7ef706f561b10023b7295aa3c21
parente825ea2f4c7e910b00cc8fd8bb6b93c777a12f78
Add support for SystemdOptions EFI var to augment /proc/cmdline

In various circumstances, overriding the kernel commandline can be inconvenient.
People have different bootloaders, and e.g. the grub config can be pretty scary.
grubby helps, but it isn't always available.

This option adds an alternative mechanism that can quite convenient on EFI
systems. cmdline settings have higher priority, because they can be (usually)
changed on the bootloader prompt.

$SYSTEMD_EFI_OPTIONS can be used to override, same as $SYSTEMD_PROC_CMDLINE.
docs/ENVIRONMENT.md
src/basic/efivars.c
src/basic/efivars.h
src/basic/proc-cmdline.c
src/test/test-proc-cmdline.c