]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootctl: replace --no-variables by --variables=BOOL
authorLennart Poettering <lennart@poettering.net>
Tue, 15 Apr 2025 15:20:07 +0000 (17:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 16 Apr 2025 11:39:12 +0000 (13:39 +0200)
commitbbeeea43625d22d2ab92b26ed93378acbad8ca66
tree0670b9fd63cd75f59ab0d6e3ac4ffad72c7e4e39
parent53628612b75b444681fabc729ad7b012299c4c63
bootctl: replace --no-variables by --variables=BOOL

I think the current behaviour of not doing EFI variables when we are run
in a container makes a ton of sense, but in some cases it's useful to
do EFI var setup even when a set of namespaces is set up for us, for
example to recover a hosed installation from a rescue disk.

While we are at it, let's remove some duplicate checks, and
systematically output information why we skip various operations.

Fixes: #36174 #35005
man/bootctl.xml
src/bootctl/bootctl-install.c
src/bootctl/bootctl-random-seed.c
src/bootctl/bootctl-set-efivar.c
src/bootctl/bootctl.c
src/bootctl/bootctl.h