summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-08 11:46:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-08 11:54:39 +0000
commit977305091054eb25ba8f2d48a55a6619e8fd1d1c (patch)
tree5fc651b2b1fa670ac3718dcdf55a454f17219471 /scripts
parent4d19594b8bdacde6d809d3f2a25cff7c5a42295e (diff)
downloadpoky-977305091054eb25ba8f2d48a55a6619e8fd1d1c.tar.gz
scripts/checklayer: Update to match bitbake changes
Bitbake additions for the addpylib API mean we need to update the parsing function call to be clear we're parsing in configuration context. (From OE-Core rev: ef7677dc90fac089f8b9f6da301cca022ed7284c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/checklayer/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py
index aa946f3036..78c74ca6ec 100644
--- a/scripts/lib/checklayer/__init__.py
+++ b/scripts/lib/checklayer/__init__.py
@@ -43,7 +43,7 @@ def _get_layer_collections(layer_path, lconf=None, data=None):
43 43
44 ldata.setVar('LAYERDIR', layer_path) 44 ldata.setVar('LAYERDIR', layer_path)
45 try: 45 try:
46 ldata = bb.parse.handle(lconf, ldata, include=True) 46 ldata = bb.parse.handle(lconf, ldata, include=True, baseconfig=True)
47 except: 47 except:
48 raise RuntimeError("Parsing of layer.conf from layer: %s failed" % layer_path) 48 raise RuntimeError("Parsing of layer.conf from layer: %s failed" % layer_path)
49 ldata.expandVarref('LAYERDIR') 49 ldata.expandVarref('LAYERDIR')