summaryrefslogtreecommitdiffstats
path: root/bitbake/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-24 22:01:03 +0000
commit89705a60f3b566743703c3a7597ccc4507293dd9 (patch)
tree7278acffd1e3599710084be58c7045ab8f5c6646 /bitbake/lib/layerindexlib
parentc0e79ee2e93609d4a647b31afed6dc034d893a52 (diff)
downloadpoky-89705a60f3b566743703c3a7597ccc4507293dd9.tar.gz
bitbake: 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. (Bitbake rev: af1654498ee5b47368a41dad2d2b7b6abc19ff15) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/layerindexlib')
-rw-r--r--bitbake/lib/layerindexlib/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/layerindexlib/cooker.py b/bitbake/lib/layerindexlib/cooker.py
index 4ce397d884..65b23d087f 100644
--- a/bitbake/lib/layerindexlib/cooker.py
+++ b/bitbake/lib/layerindexlib/cooker.py
@@ -93,7 +93,7 @@ class CookerPlugin(layerindexlib.plugin.IndexPlugin):
93 return index 93 return index
94 94
95 collections = d.getVar('BBFILE_COLLECTIONS') 95 collections = d.getVar('BBFILE_COLLECTIONS')
96 layerconfs = d.varhistory.get_variable_items_files('BBFILE_COLLECTIONS', d) 96 layerconfs = d.varhistory.get_variable_items_files('BBFILE_COLLECTIONS')
97 bbfile_collections = {layer: os.path.dirname(os.path.dirname(path)) for layer, path in layerconfs.items()} 97 bbfile_collections = {layer: os.path.dirname(os.path.dirname(path)) for layer, path in layerconfs.items()}
98 98
99 (_, bb_branch, _, _) = self._get_bitbake_info() 99 (_, bb_branch, _, _) = self._get_bitbake_info()