From 16bd38ae2ba0add942beb6761a7d8c56cc0cde0a Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Tue, 31 Oct 2023 11:07:09 +0100 Subject: [PATCH] nwl-test-image: Add components required by uboot to boot the image nrsw-uboot is reading the devicetree and the fpga image from the rootfs. id:458169 --- .../meta-nwl-distro/recipes-core/images/nwl-test-image.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layers/meta-nwl-distro/recipes-core/images/nwl-test-image.bb b/layers/meta-nwl-distro/recipes-core/images/nwl-test-image.bb index eda1306..6a86f7d 100644 --- a/layers/meta-nwl-distro/recipes-core/images/nwl-test-image.bb +++ b/layers/meta-nwl-distro/recipes-core/images/nwl-test-image.bb @@ -12,6 +12,12 @@ inherit nwl-image # NWL specific files can be added as well: # COREOS_CI_DEPLOY_ARTIFACTS += "${IMAGE_LINK_NAME}.custom.binary" +# Components required by uboot to boot an installed image +IMAGE_INSTALL:append = "\ + kernel-devicetree \ + ${@bb.utils.contains('MACHINE_FEATURES', 'fpga', 'fpga-image', '', d)} \ +" + # Add features and packages that are used in our tests: IMAGE_FEATURES += "ssh-server networkmanager swupdate" IMAGE_INSTALL:append = " \