Skip to content

Commit

Permalink
Merge pull request #133 from DaanDeMeyer/initrd-addon
Browse files Browse the repository at this point in the history
Add initrd addons to the UKI spec
  • Loading branch information
Foxboron authored Dec 17, 2024
2 parents 2f6d41e + d3e3413 commit c905daf
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 c905daf

Please sign in to comment.