diff mbox series

[yocto-autobuilder-helper] config.json: add sbsa-ref builds to meta-arm

Message ID 20240503154710.3995359-1-ross.burton@arm.com
State New
Headers show
Series [yocto-autobuilder-helper] config.json: add sbsa-ref builds to meta-arm | expand

Commit Message

Ross Burton May 3, 2024, 3:47 p.m. UTC
This machine replaces qemu-generic-arm64, which was built on the AB until
60825ac6 landed.

Because the sbsa-ref machine boots a disk image inside qemu there is no
way for the static IPs to be passed to the kernel directly, which means
TAP networking fails. Work around this by always running the tests with
slirp networking.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 config.json | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
diff mbox series

Patch

diff --git a/config.json b/config.json
index fb3b082e..6c9946f1 100644
--- a/config.json
+++ b/config.json
@@ -665,6 +665,27 @@ 
                 "shortname": "Build for fvp-base",
                 "MACHINE": "fvp-base",
                 "BBTARGETS": "core-image-minimal core-image-sato"
+            },
+            "step2": {
+                "shortname": "Build for sbsa-ref (poky)",
+                "MACHINE": "sbsa-ref",
+                "extravars" : [
+                    "IMAGE_INSTALL:append = ' ssh-pregen-hostkeys'",
+                    "TEST_RUNQEMUPARAMS += 'slirp'"
+                ],
+                "BBTARGETS" : "core-image-minimal core-image-sato core-image-weston",
+                "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-weston:do_testimage"
+            },
+            "step3": {
+                "shortname": "Build for sbsa-ref (poky-altcfg)",
+                "DISTRO": "poky-altcfg",
+                "MACHINE": "sbsa-ref",
+                "extravars" : [
+                    "IMAGE_INSTALL:append = ' ssh-pregen-hostkeys'",
+                    "TEST_RUNQEMUPARAMS += 'slirp'"
+                ],
+                "BBTARGETS" : "core-image-minimal core-image-sato core-image-weston",
+                "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-weston:do_testimage"
             }
         },
         "meta-agl-core" : {