]> git.ipfire.org Git - thirdparty/systemd.git/commit
stub: introduce StubFeatures, similar to LoaderFeatures
authorLennart Poettering <lennart@poettering.net>
Wed, 27 Jul 2022 13:25:59 +0000 (15:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 2 Aug 2022 08:28:49 +0000 (10:28 +0200)
commit46d336722da20e1f0e6734dffe203bb358ce2485
treef8c0b8e66e510f60fe3c88382f4b036db69c53a3
parent6017eee9ce495d0b12cfe2f6f7569a0808cd672d
stub: introduce StubFeatures, similar to LoaderFeatures

systemd-boot reports its features via the LoaderFeatures EFI variable.
Let's add something similar for stub features, given they have been
growing.

For starters only define four feature flags. One is a baseline feature
we pretty much always supported (see comment in code), two are features
added in one of the most recently released systemd version, and the
final one, is a feature we added a few commits ago.

This is useful for userspace to figure out what is supported and what
not.
src/boot/efi/stub.c
src/fundamental/efivars-fundamental.h