summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bblayers
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-23 13:21:35 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-24 22:01:03 (GMT)
commit89705a60f3b566743703c3a7597ccc4507293dd9 (patch)
tree7278acffd1e3599710084be58c7045ab8f5c6646 /bitbake/lib/bblayers
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/bblayers')
-rw-r--r--bitbake/lib/bblayers/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bblayers/common.py b/bitbake/lib/bblayers/common.py
index c5657d3..6c76ef3 100644
--- a/bitbake/lib/bblayers/common.py
+++ b/bitbake/lib/bblayers/common.py
@@ -17,7 +17,7 @@ class LayerPlugin():
17 def tinfoil_init(self, tinfoil): 17 def tinfoil_init(self, tinfoil):
18 self.tinfoil = tinfoil 18 self.tinfoil = tinfoil
19 self.bblayers = (self.tinfoil.config_data.getVar('BBLAYERS') or "").split() 19 self.bblayers = (self.tinfoil.config_data.getVar('BBLAYERS') or "").split()
20 layerconfs = self.tinfoil.config_data.varhistory.get_variable_items_files('BBFILE_COLLECTIONS', self.tinfoil.config_data) 20 layerconfs = self.tinfoil.config_data.varhistory.get_variable_items_files('BBFILE_COLLECTIONS')
21 self.bbfile_collections = {layer: os.path.dirname(os.path.dirname(path)) for layer, path in layerconfs.items()} 21 self.bbfile_collections = {layer: os.path.dirname(os.path.dirname(path)) for layer, path in layerconfs.items()}
22 22
23 @staticmethod 23 @staticmethod