aboutsummaryrefslogtreecommitdiffstats
path: root/lib/layerindexlib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-23 13:21:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-23 16:28:37 +0000
commitaf1654498ee5b47368a41dad2d2b7b6abc19ff15 (patch)
tree839ffdb5723b6647e9bd5fd0c3903104bdc3ed1c /lib/layerindexlib
parentf2341dc46b6abfc08a4d01c7abdd3d4630577999 (diff)
downloadbitbake-af1654498ee5b47368a41dad2d2b7b6abc19ff15.tar.gz
data_smart: Don't pass unneeded datastore
The datastore is already available to this function internally so don't also try and pass the datastore as a parameter. This is clearly broken API when you look at the existing calls to it. This then doesn't break the planned tinfoil data connector changes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/layerindexlib')
-rw-r--r--lib/layerindexlib/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/layerindexlib/cooker.py b/lib/layerindexlib/cooker.py
index 4ce397d88..65b23d087 100644
--- a/lib/layerindexlib/cooker.py
+++ b/lib/layerindexlib/cooker.py
@@ -93,7 +93,7 @@ class CookerPlugin(layerindexlib.plugin.IndexPlugin):
return index
collections = d.getVar('BBFILE_COLLECTIONS')
- layerconfs = d.varhistory.get_variable_items_files('BBFILE_COLLECTIONS', d)
+ layerconfs = d.varhistory.get_variable_items_files('BBFILE_COLLECTIONS')
bbfile_collections = {layer: os.path.dirname(os.path.dirname(path)) for layer, path in layerconfs.items()}
(_, bb_branch, _, _) = self._get_bitbake_info()