selftest/bblayers: maintain compatibility with integrated poky repo

This amends the recently merged commit that assumes the transition
to separate repositories has already happened and re-instatates
support for integrated poky.

(From OE-Core rev: 517666671ba2cc79b2ada3390d4ae0f2beb95caf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2025-10-08 14:42:53 +02:00
committed by Richard Purdie
parent 9ef953f10d
commit 3c1ef0d520

View File

@@ -157,7 +157,9 @@ class BitbakeLayers(OESelftestTestCase):
with open(jsonfile) as f:
data = json.load(f)
for s in data['sources']:
if s == 'meta-yocto':
if s == 'poky':
data['sources'][s]['git-remote']['rev'] = '5200799866b92259e855051112520006e1aaaac0'
elif s == 'meta-yocto':
data['sources'][s]['git-remote']['rev'] = '913bd8ba4dd1d5d2a38261bde985b64a36e36281'
else:
data['sources'][s]['git-remote']['rev'] = '744a2277844ec9a384a9ca7dae2a634d5a0d3590'