stub: Add support for .initrd addon files
authorTobias Fleig <tfleig@meta.com>
Tue, 8 Oct 2024 14:54:43 +0000 (07:54 -0700)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 9 Oct 2024 13:06:10 +0000 (14:06 +0100)
commit2ea0487c1be4203ba3664d249418317846f55c1a
tree5105efa124f7fd0fa67fe4e9e397fa5ac4633e73
parent61808636a797917025abc94dc85f5180b8e2de64
stub: Add support for .initrd addon files

Teaches systemd-stub how to load additional initrds from addon files.
This is very similar to the support for .ucode sections in addon files,
but with different ordering. Initrds from addons have a chance to
overwrite files from the base initrd in the UKI.
docs/TPM2_PCR_MEASUREMENTS.md
man/systemd-stub.xml
src/boot/efi/stub.c
src/fundamental/tpm2-pcr.h