Skip to content

Commit

Permalink
UKI: document where UKI addons provided via package should be
Browse files Browse the repository at this point in the history
  • Loading branch information
esposem committed Dec 11, 2023
1 parent 1bde1cb commit a14194d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions specs/unified_kernel_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,10 @@ that tools staging or consuming UKIs have a common place to store and look for t

The installed UKIs should have a filename `<version format specification>.efi`, i.e. the filename is left to
implementers but must be valid for comparisons according to the [Version Format Specification](version_format_specification.md).

UKI addons (cmdline PE addons, systemd-sysext extensions for initrd) built centrally by distributions and
installed via package manager should instead be installed in `/usr/lib/linux/extra.d/` if they are global
addons/extensions, i.e. they are applied to all UKI installed in the ESP, and
`/usr/lib/linux/$UNAME/$UKI.efi.extra.d/`, where `$UNAME` is the output of `uname -r` of the kernel included
in the UKI, and `$UKI` is the UKI name just as in `$BOOT/EFI/Linux/$UKI.efi` and its addons folder
`$BOOT/EFI/Linux/$UKI.efi.extra.d/` (see [`$BOOT`](./boot_loader_specification.md#type-2-efi-unified-kernel-images)).

0 comments on commit a14194d

Please sign in to comment.