diff options
author | Tobias Fleig <tfleig@meta.com> | 2024-10-08 16:54:43 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-10-09 15:06:10 +0200 |
commit | 2ea0487c1be4203ba3664d249418317846f55c1a (patch) | |
tree | 5105efa124f7fd0fa67fe4e9e397fa5ac4633e73 /src/fundamental/tpm2-pcr.h | |
parent | Merge pull request #34679 from DaanDeMeyer/bus-log (diff) | |
download | systemd-2ea0487c1be4203ba3664d249418317846f55c1a.tar.xz systemd-2ea0487c1be4203ba3664d249418317846f55c1a.zip |
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.
Diffstat (limited to 'src/fundamental/tpm2-pcr.h')
-rw-r--r-- | src/fundamental/tpm2-pcr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fundamental/tpm2-pcr.h b/src/fundamental/tpm2-pcr.h index 9f5529b827..f903ec3e3b 100644 --- a/src/fundamental/tpm2-pcr.h +++ b/src/fundamental/tpm2-pcr.h @@ -50,6 +50,9 @@ enum { /* The tag used for EV_EVENT_TAG event log records covering Devicetree blobs */ #define DEVICETREE_ADDON_EVENT_TAG_ID UINT32_C(0x6c46f751) +/* The tag used for EV_EVENT_TAG event log records covering initrd addons */ +#define INITRD_ADDON_EVENT_TAG_ID UINT32_C(0x49dffe0f) + /* The tag used for EV_EVENT_TAG event log records covering ucode addons (effectively initrds) */ #define UCODE_ADDON_EVENT_TAG_ID UINT32_C(0xdac08e1a) |