]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: add an option to control action after SecureBoot enrollment (#36684)
authorItxaka <itxaka@kairos.io>
Thu, 8 May 2025 04:28:41 +0000 (06:28 +0200)
committerGitHub <noreply@github.com>
Thu, 8 May 2025 04:28:41 +0000 (13:28 +0900)
commit03eae2a40240b24601825ff7be5fec00b78ece96
treeaf217f70193a4b1e68ef83c0512a54215b303284
parentf24f70343d1f5569869ea0449dcfe5c7e8dd1ace
boot: add an option to control action after SecureBoot enrollment (#36684)

This PR provides a new option for systemd-boot
`secure-boot-enroll-action` which allows to configure the behavior after
SecureBoot keys are enrolled.

Provides the option to either reboot or power off.

The current behavior is not changed, it will by default reboot as it did
before.

It also provides a small message about the action its going to take with
a small delay so the user can read it.
man/loader.conf.xml
src/boot/boot.c
src/boot/secure-boot.c
src/boot/secure-boot.h
tools/command_ignorelist