mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
oeqa selftest uki.py: add tests for uki.bbclass
Tests builds and boots qemu into uki binary with systemd and sysvinit. Due to depedency to x86 specific ovmf UEFI firmware, tests are specific to x86 curently. UEFI firmware for ARM can be generated via qemuarm64-secureboot machine in meta-arm and similar tests on qemu will pass. (From OE-Core rev: 8a3cb17876dbcaf07696a4bcd454e2f9a444fb1b) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2f0ef8cd0e
commit
5fe59b3144
3
scripts/lib/wic/canned-wks/efi-uki-bootdisk.wks.in
Normal file
3
scripts/lib/wic/canned-wks/efi-uki-bootdisk.wks.in
Normal file
@@ -0,0 +1,3 @@
|
||||
bootloader --ptable gpt --timeout=5
|
||||
part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --label boot --active --align 1024 --use-uuid --part-name="ESP" --part-type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B --fixed-size 512M
|
||||
part / --source rootfs --fstype=ext4 --label root --align 1024 --exclude-path boot/
|
||||
Reference in New Issue
Block a user