Skip to contentSkip to conversation

config.json: rewrite meta-virt build steps

PATCH New Ross Burton 1 participant 1 message Apr 7, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config.json: rewrite meta-virt build steps

In the meta-virt builder, don't do a world build but instead build just xen-image-minimal for both qemuarm64 and qemux86-64.

This can be expanded over time, but is a sensible starting point and builds cleanly.

---
 config.json | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
config.json +12 -4
index 5b4a59e..93fd6a5 100644
@@ -934,8 +934,6 @@
         },
         "meta-virt" : {
             "NEEDREPOS" : ["poky", "meta-openembedded", "meta-virtualization"],
-            "MACHINE" : "qemux86-64",
-            "BBTARGETS" : "world -k",
             "ADDLAYER" : [
                 "${BUILDDIR}/../meta-openembedded/meta-oe",
                 "${BUILDDIR}/../meta-openembedded/meta-python",
@@ -944,8 +942,18 @@
                 "${BUILDDIR}/../meta-virtualization"
             ],
             "extravars" : [
-                "DISTRO_FEATURES:append = ' virtualization'"
-            ]
+                "DISTRO_FEATURES:append = ' virtualization xen'"
+            ],
+            "step1" : {
+                "shortname": "Xen for qemux86-64",
+                "MACHINE": "qemux86-64",
+                "BBTARGETS" : "xen-image-minimal"
+            },
+            "step2" : {
+                "shortname": "Xen for qemuarm64",
+                "MACHINE": "qemuarm64",
+                "BBTARGETS" : "xen-image-minimal"
+            }
         },
         "qa-extras" : {
             "MACHINE" : "qemux86-64",
Signature · 1 line
2.25.1