On Thu Feb 19, 2026 at 6:22 PM CET, Viswanath Kraleti via lists.openembedded.org wrote: > According to the Unified Kernel Image (UKI) specification [1], including > a compiled device tree in the .dtb section of a UKI is optional. However, > the current implementation always packages device trees listed in > KERNEL_DEVICETREE into the UKI by default. This makes uki.bbclass > unsuitable for systems that rely on firmware-provided DTBs and do not > want a DTB embedded in the UKI. > > Fix this by introducing a new UKI_DEVICETREE variable to control device > tree packaging. The dtb section is now populated from UKI_DEVICETREE > instead of KERNEL_DEVICETREE. Users who do not want DTBs included in the > UKI can override UKI_DEVICETREE to an empty value from their recipes. > > [1] https://uapi-group.org/specifications/specs/unified_kernel_image/ > > Signed-off-by: Viswanath Kraleti <[email protected]> > ---
Hi Viswanath, Thanks for your patch. It looks like some selftests are failing: 2026-02-20 20:52:59,350 - oe-selftest - INFO - uki.UkiTest.test_uki_boot_systemd (subunit.RemotedTestCase) 2026-02-20 20:52:59,351 - oe-selftest - INFO - ... FAIL ... 2026-02-20 20:45:12,725 - oe-selftest - INFO - Starting client DEBUGINFOD_URLS=http://192.168.7.1:56253/ debuginfod-find debuginfo /usr/bin/xz [Fri Feb 20 20:45:12 2026] (3985778/3985789): 192.168.7.2:38846 UA:elfutils/0.194,Linux/x86_64,/ XFF: GET /buildid/672c74f9d1ea2e63d71dfb2d5c9a2e253ee550f5/debuginfo 200 258784 0+10ms ERROR: When reparsing /tmp/selftest-fetchbs937nwy/test.bb:do_checkuri, the basehash value changed from 84b9e23a83a764e7a5d8a96ee523199e2b1c604f4280a45030e248de0ff52962 to 4123da244f465feffecb2b4fd2b132b64851981ec2fb70bf9445df8b0ea6a69e. The metadata is not deterministic and this needs to be fixed. ERROR: The following commands may help: ERROR: $ bitbake test -cdo_checkuri -Snone ERROR: Then: ERROR: $ bitbake test -cdo_checkuri -Sprintdiff ... 2026-02-20 21:24:55,987 - oe-selftest - INFO - wic.Wic2.test_efi_plugin_unified_kernel_image_qemu (subunit.RemotedTestCase) 2026-02-20 21:24:55,988 - oe-selftest - INFO - ... FAIL ... 2026-02-20 20:52:59,350 - oe-selftest - INFO - uki.UkiTest.test_uki_boot_systemd (subunit.RemotedTestCase) 2026-02-20 20:52:59,351 - oe-selftest - INFO - ... FAIL Can you have a look at the issue? Thanks, Mathieu -- Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#231606): https://lists.openembedded.org/g/openembedded-core/message/231606 Mute This Topic: https://lists.openembedded.org/mt/117896070/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
