selftest/bblayers: do not assume integrated poky repo

The autobuilder is being transitioned to bitbake-setup which
sets up individual repositories that yocto is made of. Adjust
hardcoded revisions to match these repositories.

(From OE-Core rev: d22744cc176524e83cc52d0800ce39b0070e261c)

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-06 13:34:17 +02:00
committed by Richard Purdie
parent e9acea56bd
commit 0254b4590a

View File

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