diff mbox series

selftest/bblayers: maintain compatibility with integrated poky repo

Message ID 20251008124253.1636011-1-alex.kanavin@gmail.com
State Accepted, archived
Commit 517666671ba2cc79b2ada3390d4ae0f2beb95caf
Headers show
Series selftest/bblayers: maintain compatibility with integrated poky repo | expand

Commit Message

Alexander Kanavin Oct. 8, 2025, 12:42 p.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

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

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/lib/oeqa/selftest/cases/bblayers.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/lib/oeqa/selftest/cases/bblayers.py b/meta/lib/oeqa/selftest/cases/bblayers.py
index 08bc1d1e442..8026e7ed4a4 100644
--- a/meta/lib/oeqa/selftest/cases/bblayers.py
+++ b/meta/lib/oeqa/selftest/cases/bblayers.py
@@ -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'