selftest/bblayers: fix up compatibility with integrated poky and separate layer checkouts
PATCH 1/1 selftest/bblayers: fix up compatibility with integrated poky and separate layer checkouts
From: Alexander Kanavin <[email protected]>
Specifically:
- when using integrated poky, autobuilder clones it into 'build', rather than 'poky'
- do not use a catch-all default to tweak the commit id openembedded-core, rather make it specific to that repository.
Signed-off-by Alexander Kanavin <[email protected]>
--- meta/lib/oeqa/selftest/cases/bblayers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/lib/oeqa/selftest/cases/bblayers.py +2 -2
@@ -157,11 +157,11 @@ class BitbakeLayers(OESelftestTestCase): with open(jsonfile) as f: data = json.load(f) for s in data['sources']: - if s == 'poky': + if s == 'poky' or s == 'build': data['sources'][s]['git-remote']['rev'] = '5200799866b92259e855051112520006e1aaaac0' elif s == 'meta-yocto': data['sources'][s]['git-remote']['rev'] = '913bd8ba4dd1d5d2a38261bde985b64a36e36281' - else: + elif s == 'openembedded-core': data['sources'][s]['git-remote']['rev'] = '744a2277844ec9a384a9ca7dae2a634d5a0d3590' with open(jsonfile, 'w') as f: json.dump(data, f)
Signature · 1 line
2.39.5