summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-08-31 13:14:01 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-01 10:07:02 +0100
commit9facffec785cc5a985d7d03b3e2b38c9bfa055cb (patch)
tree5eb58f18d8a1eef077bd376c2299d89b19f59aa5 /meta/lib/oeqa
parentfe7eb16537ae04cf6afaa368c7a4ce6991dcbd2f (diff)
downloadpoky-9facffec785cc5a985d7d03b3e2b38c9bfa055cb.tar.gz
selftest/bblayers: adjust the revision for the layer setup test
Using a tag is not actually robust enough, e.g. poky-contrib checkouts do not come with any tags. So let's use a revision matching yocto-4.0, that ought to be present. (From OE-Core rev: 1246aa8e4c9e6fce2f7700cd8e8ad9566a21d6e3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/selftest/cases/bblayers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/bblayers.py b/meta/lib/oeqa/selftest/cases/bblayers.py
index 18007764b3..c6bd5a1f6a 100644
--- a/meta/lib/oeqa/selftest/cases/bblayers.py
+++ b/meta/lib/oeqa/selftest/cases/bblayers.py
@@ -149,12 +149,12 @@ class BitbakeLayers(OESelftestTestCase):
149 self.validate_layersjson(jsonfile) 149 self.validate_layersjson(jsonfile)
150 150
151 # The revision-under-test may not necessarily be available on the remote server, 151 # The revision-under-test may not necessarily be available on the remote server,
152 # so replace it with a stable release tag. 152 # so replace it with a revision that has a yocto-4.0 tag.
153 import json 153 import json
154 with open(jsonfile) as f: 154 with open(jsonfile) as f:
155 data = json.load(f) 155 data = json.load(f)
156 for s in data['sources']: 156 for s in data['sources']:
157 data['sources'][s]['git-remote']['rev'] = 'yocto-4.0' 157 data['sources'][s]['git-remote']['rev'] = '00cfdde791a0176c134f31e5a09eff725e75b905'
158 with open(jsonfile, 'w') as f: 158 with open(jsonfile, 'w') as f:
159 json.dump(data, f) 159 json.dump(data, f)
160 160