poky/meta-selftest
Kristian Klausen b8c0f073f6 wic/bootimg-efi: Add Unified Kernel Image option
"A unified kernel image is a single EFI PE executable combining an EFI
stub loader, a kernel image, an initramfs image, and the kernel command
line.

[...]

Images of this type have the advantage that all metadata and payload
that makes up the boot entry is monopolized in a single PE file that can
be signed cryptographically as one for the purpose of EFI
SecureBoot."[1]

This commit adds a create-unified-kernel-image=true option to the
bootimg-efi plugin for creating a Unified Kernel Image[1] and installing
it into $BOOT/EFI/Linux/ with a .efi extension per the the Boot Loader
Specification[1][2]. This is useful for implementing Secure Boot.

systemd-boot is the only mainstream bootloader implementing the
specification, but GRUB should be able to boot the EFI binary, this
commit however doesn't implement the necessary changes to the GRUB
config generation logic to boot the Unified Kernel Image.

[1] https://systemd.io/BOOT_LOADER_SPECIFICATION/#type-2-efi-unified-kernel-images
[2] https://systemd.io/BOOT_LOADER_SPECIFICATION/

(From OE-Core rev: b0573f240525df561ddef6e47cb285b217d38487)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:53 +01:00
..
classes oe-selftest: fitimage: add test for signing FIT images 2020-12-20 00:03:04 +00:00
conf layer.conf: Update to add post 3.3 release honister series 2021-04-18 11:37:24 +01:00
files Add core-image-weston to reproducible build tests 2021-03-02 20:39:35 +00:00
lib bitbake.conf: Prevent pyc file generation in pseudo context 2020-12-20 00:03:04 +00:00
recipes-devtools/python selftest/python-async-test: set precise BSD license 2021-09-04 08:44:10 +01:00
recipes-test oeqa/selftest: Add tests for bitbake shell/python task output 2021-09-23 22:13:53 +01:00
wic wic/bootimg-efi: Add Unified Kernel Image option 2021-10-04 15:03:53 +01:00
README meta-selftest: create a new test layer to be used by oe-selftest script 2013-12-03 17:45:50 +00:00

This layer is intended as test layer, used by scripts/oe-selftest and it's probably a mistake to include it in your builds (unless you want to run the script).