Extend and fix check-layer job
PATCH 1/2 config.json: check-layer: Fix testing of core layers
In reply to Paul BarkerWe need to ensure that meta-poky and meta-yocto-bsp are not in BBLAYERS when we try to run yocto-check-layer against them. We can also now run yocto-check-layer against the core meta layer.
--- config.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
config.json +8 -2
@@ -1303,12 +1303,18 @@ "NEEDREPOS" : ["bitbake", "meta-mingw"], "DISTRO" : "nodistro", "step1" : { - "EXTRACMDS" : ["yocto-check-layer ../layers/meta-yocto/meta-poky"] + "EXTRACMDS" : [ + "bitbake-layers remove-layer meta-poky meta-yocto-bsp", + "yocto-check-layer ../layers/openembedded-core/meta" + ] }, "step2" : { - "EXTRACMDS" : ["yocto-check-layer ../layers/meta-yocto/meta-yocto-bsp"] + "EXTRACMDS" : ["yocto-check-layer ../layers/meta-yocto/meta-poky"] }, "step3" : { + "EXTRACMDS" : ["yocto-check-layer ../layers/meta-yocto/meta-yocto-bsp"] + }, + "step4" : { "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-mingw"] } },
Signature · 1 line
2.43.0
PATCH 2/2 config.json: check-layer: Test with supported machines from core layers
In reply to Paul Barker--- config.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
config.json +4 -2
@@ -1302,17 +1302,19 @@ "check-layer" : { "NEEDREPOS" : ["bitbake", "meta-mingw"], "DISTRO" : "nodistro", + "MACHINE" : "unset", + "extravars" : ["MACHINE ?= 'qemux86-64'"], "step1" : { "EXTRACMDS" : [ "bitbake-layers remove-layer meta-poky meta-yocto-bsp", - "yocto-check-layer ../layers/openembedded-core/meta" + "yocto-check-layer ../layers/openembedded-core/meta --machines qemuarm qemuarm64 qemuarmv5 qemuloongarch64 qemumips qemumips64 qemuppc qemuppc64 qemuriscv32 qemuriscv64 qemux86-64 qemux86" ] }, "step2" : { "EXTRACMDS" : ["yocto-check-layer ../layers/meta-yocto/meta-poky"] }, "step3" : { - "EXTRACMDS" : ["yocto-check-layer ../layers/meta-yocto/meta-yocto-bsp"] + "EXTRACMDS" : ["yocto-check-layer ../layers/meta-yocto/meta-yocto-bsp --machines beaglebone-yocto genericarm64 genericx86-64 genericx86"] }, "step4" : { "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-mingw"]
Signature · 1 line
2.43.0
cover Extend and fix check-layer job
Extend the check-layer job to cover openembedded-core and to test all supported MACHINEs. Also fix testing of meta-poky and meta-yocto-bsp.
This series should be applied after changes to openembedded-core [1], [2], and meta-yocto [3], otherwise failures are expected.
[1]: https://lore.kernel.org/openembedded-core/[email protected]/T/
[2]: https://lore.kernel.org/openembedded-core/[email protected]/T/
[3]: https://lore.kernel.org/poky/[email protected]/T/
---
Paul Barker (2):
config.json: check-layer: Fix testing of core layers config.json: check-layer: Test with supported machines from core layers
config.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
---
base-commit: 7e475b822d164e02f03a60cf4e02f0db0c4d086e
change-id: 20260328-checklayer-5526fd41fe19
Best regards,
Signature · 1 line
Paul Barker
Quoted 10 lines · Paul Barker
Extend the check-layer job to cover openembedded-core and to test all supported MACHINEs. Also fix testing of meta-poky and meta-yocto-bsp.
This series should be applied after changes to openembedded-core [1], [2], and meta-yocto [3], otherwise failures are expected.
[1]: https://lore.kernel.org/openembedded-core/[email protected]/T/
[2]: https://lore.kernel.org/openembedded-core/[email protected]/T/
[3]: https://lore.kernel.org/poky/[email protected]/T/
Quoted 7 lines
---
Paul Barker (2):
config.json: check-layer: Fix testing of core layers config.json: check-layer: Test with supported machines from core layersconfig.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
I've re-tested these changes on the autobuilder [1] and they pass with current master branches, so I think they're ready to merge.
[1]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3606
Best regards,
Signature · 1 line
Paul Barker