Skip to content

Commit

Permalink
Add initrd addons to the UKI spec
Browse files Browse the repository at this point in the history
Corresponding systemd PR: systemd/systemd#34680
  • Loading branch information
DaanDeMeyer committed Dec 17, 2024
1 parent 2f6d41e commit d3e3413
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion specs/unified_kernel_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,14 @@ PE Addons must contain at least one section of the following types:
* `.cmdline`
* `.dtb`
* `.ucode`
* `.initrd`

PE Addons should be sorted by their filename, and applied in this order. In case of `.cmdline` all command
lines provided by addons are suffixed in this order to any command line included in the UKI. In case of
`.dtb` any such section included in the UKI shall be applied first, and those provided by add-ons should then
by applied in order as a fix-up. In case of `.ucode` the contained `cpio` archives should be prefixed to the
regular initrds passed to the kernel, in reverse order.
regular initrds passed to the kernel, in reverse order. In case of `.initrd` the contained `cpio` archives
should be appended to the regular initrds passed to the kernel.

PE Addons may include sections of multiple types (e.g. both a `.cmdline` and a `.dtb` section), in which case
all of them should be applied.
Expand Down

0 comments on commit d3e3413

Please sign in to comment.