Commit 2f0ef8cd authored by Mikko Rapeli's avatar Mikko Rapeli Committed by Richard Purdie
Browse files

wic bootimg-efi.py: change UKI support from wic plugin to uki.bbclass


Remove custom wic plugin implementation and use systemd ukify reference
implementation when generating UKI images. Fail if users still have
create-unified-kernel-image in wic image config. uki.bbclass use is
detected from IMAGE_CLASSES variable ("inherit uki" in image
recipe) so export that to wic plugins.

If UKI is used, then only generate a minimal loader config for
systemd-boot which basically just sets a timeout. Also set 5 second
timeout by default instead of failing if wic bootloader config is
missing. Boot menu is generated at runtime based on UKI binaries
found from ESP partition.

(From OE-Core rev: 725fed6ea40c7443b5e0e69dc1dd9c38ac814c56)

Signed-off-by: default avatarMikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent c50552a2
No related merge requests found
Showing with 27 additions and 116 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment