diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-08 11:46:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-08 11:47:54 +0000 |
commit | ef7677dc90fac089f8b9f6da301cca022ed7284c (patch) | |
tree | e17afb474bc6c84b5b46c0e09c76694ddcf24054 /scripts | |
parent | 96ff9baa8ead57504f40f362ed3a4aaa776d1b58 (diff) | |
download | openembedded-core-contrib-ef7677dc90fac089f8b9f6da301cca022ed7284c.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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/checklayer/__init__.py | 2 |
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): 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') |