Skip to content

Commit c905daf

Browse files
authored
Merge pull request #133 from DaanDeMeyer/initrd-addon
Add initrd addons to the UKI spec
2 parents 2f6d41e + d3e3413 commit c905daf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

specs/unified_kernel_image.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,14 @@ PE Addons must contain at least one section of the following types:
9090
* `.cmdline`
9191
* `.dtb`
9292
* `.ucode`
93+
* `.initrd`
9394

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

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

0 commit comments

Comments
 (0)