[yocto] [yocto-autobuilder-helper][PATCH] config.json: Remove sstate, add oe-selftest, and replace beaglebone

Michael Halstead mhalstead at linuxfoundation.org
Thu Nov 8 06:35:51 PST 2018


We want to build everything without sstate during bringup testing.
Adding oe-selftest will catch errors other targets wouldn't.  We just want to
test on qemuarm64 and qemux86-64 architectures so remove beaglebone as an
unneeded third. This takes advantage of the template as well.

Signed-off-by: Michael Halstead <mhalstead at linuxfoundation.org>
---
 config.json | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/config.json b/config.json
index 2945155..abc5928 100644
--- a/config.json
+++ b/config.json
@@ -146,16 +146,27 @@
             }
         },
        "nightly-bringup" : {
-            "MACHINE" : "qemuarm",
             "TEMPLATE" : "nightly-arch",
+            "SSTATEDIR" : [],
+            "MACHINE" : "qemuarm64",
             "step2" : {
-                "MACHINE" : "beaglebone-yocto",
-                "BBTARGETS" : "core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato-sdk-ptest core-image-sato:do_populate_sdk"
+                "MACHINE" : "qemux86-64"
             },
             "step5" : {
                 "MACHINE" : "qemux86-64",
                 "SDKMACHINE" : "x86_64",
                 "BBTARGETS" : "core-image-minimal:do_populate_sdk_ext core-image-sato:do_populate_sdk"
+            },
+            "step6" : {
+                "MACHINE" : "qemux86-64",
+                "SDKMACHINE" : "x86_64",
+                "PACKAGE_CLASSES" : "package_rpm",
+                "PRSERV" : false,
+                "extravars" : [
+                    "RPM_GPG_SIGN_CHUNK = '1'"
+                ],
+                "EXTRACMDS" : ["checkvnc; DISPLAY=:1 oe-selftest --skip-tests distrodata.Distrodata.test_checkpkg -j 15"],
+                "ADDLAYER" : ["${BUILDDIR}/../meta-selftest"]
             }
         },
         "nightly-mips" : {
-- 
2.17.2



More information about the yocto mailing list