]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
scripts/checklayer: Update to match bitbake changes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Dec 2022 11:46:07 +0000 (11:46 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Dec 2022 11:47:54 +0000 (11:47 +0000)
Bitbake additions for the addpylib API mean we need to update the parsing
function call to be clear we're parsing in configuration context.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/checklayer/__init__.py

index aa946f3036cd14dce89be24c570623b270fe5262..78c74ca6ec3572a0b350b25e194531a9e5dbd92a 100644 (file)
@@ -43,7 +43,7 @@ def _get_layer_collections(layer_path, lconf=None, data=None):
 
     ldata.setVar('LAYERDIR', layer_path)
     try:
-        ldata = bb.parse.handle(lconf, ldata, include=True)
+        ldata = bb.parse.handle(lconf, ldata, include=True, baseconfig=True)
     except:
         raise RuntimeError("Parsing of layer.conf from layer: %s failed" % layer_path)
     ldata.expandVarref('LAYERDIR')