config.json: Fix check-layer for meta-poky/meta-yocto-bsp
PATCH 1/1 config.json: Fix check-layer for meta-poky/meta-yocto-bsp
Currently, the tests for meta-poky and meta-yocto-bsp were malfunctioning. We need to a) set a distro other than poky and b) avoid the isolation wrapper since it will use the default environment and reset to the poky distro and default bblayers.conf which will disable the layer test.
With those two fixes, the layer checks work correctly.
--- config.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
config.json +3 -2
@@ -1150,11 +1150,12 @@ }, "check-layer" : { "NEEDREPOS" : ["poky", "meta-mingw"], + "DISTRO" : "nodistro", "step1" : { - "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-poky"] + "EXTRACMDS" : ["bitbake-layers remove-layer ../meta-poky; yocto-check-layer ../meta-poky"] }, "step2" : { - "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-yocto-bsp"] + "EXTRACMDS" : ["bitbake-layers remove-layer ../meta-yocto-bsp; yocto-check-layer ../meta-yocto-bsp"] }, "step3" : { "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-mingw"]
Signature · 1 line
2.39.2
Steve,
This needs to be applied to dunfell, kirkstone, mickledore and nanbield (none of those are performing the correct check now).
Quoted 51 lines · Richard Purdie
Currently, the tests for meta-poky and meta-yocto-bsp were malfunctioning. We need to a) set a distro other than poky and b) avoid the isolation wrapper
since it will use the default environment and reset to the poky distro and default bblayers.conf which will disable the layer test.With those two fixes, the layer checks work correctly.
Signed-off-by Richard Purdie <[email protected]>--- config.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)config.json +2
-1@@ -1150,11 +1150,12 @@ }, "check-layer" : { "NEEDREPOS" : ["poky", "meta-mingw"], + "DISTRO" : "nodistro", "step1" : { - "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-poky"] + "EXTRACMDS" : ["bitbake-layers remove-layer ../meta-poky;yocto-check-layer ../meta-poky"]
}, "step2" : {- "EXTRACMDS" : ["yocto-check-layer-wrapper
../meta-yocto-bsp"]
+ "EXTRACMDS" : ["bitbake-layers remove-layer
../meta-yocto-bsp; yocto-check-layer ../meta-yocto-bsp"]}, "step3" : { "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-mingw"]--
2.39.2-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#61444):
https://lists.yoctoproject.org/g/yocto/message/61444
Mute This Topic: https://lists.yoctoproject.org/mt/102097822/924729
Group Owner: [email protected] Unsubscribe:
https://lists.yoctoproject.org/g/yocto/leave/7531966/924729/429220467/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 4 lines · Tim Orling
Steve,
This needs to be applied to dunfell, kirkstone, mickledore and nanbield (none of those are performing the correct check now).
I've gone ahead and backported this since I've been working on this repo a lot recently. If there are any issues we'll resolve them...
Cheers,
Richard