summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tinfoil.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/tinfoil.py')
-rw-r--r--bitbake/lib/bb/tinfoil.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index c551a9f1f7..720bf4b931 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -29,6 +29,7 @@ import bb.providers
29import bb.taskdata 29import bb.taskdata
30import bb.utils 30import bb.utils
31import bb.command 31import bb.command
32import bb.remotedata
32from bb.cookerdata import CookerConfiguration, ConfigParameters 33from bb.cookerdata import CookerConfiguration, ConfigParameters
33from bb.main import setup_bitbake, BitBakeConfigParameters, BBMainException 34from bb.main import setup_bitbake, BitBakeConfigParameters, BBMainException
34import bb.fetch2 35import bb.fetch2
@@ -69,8 +70,9 @@ class TinfoilDataStoreConnector:
69 return set(self.tinfoil.run_command('dataStoreConnectorGetKeys', self.dsindex)) 70 return set(self.tinfoil.run_command('dataStoreConnectorGetKeys', self.dsindex))
70 def getVarHistory(self, name): 71 def getVarHistory(self, name):
71 return self.tinfoil.run_command('dataStoreConnectorGetVarHistory', self.dsindex, name) 72 return self.tinfoil.run_command('dataStoreConnectorGetVarHistory', self.dsindex, name)
72 def expandPythonRef(self, varname, expr): 73 def expandPythonRef(self, varname, expr, d):
73 ret = self.tinfoil.run_command('dataStoreConnectorExpandPythonRef', self.dsindex, varname, expr) 74 ds = bb.remotedata.RemoteDatastores.transmit_datastore(d)
75 ret = self.tinfoil.run_command('dataStoreConnectorExpandPythonRef', ds, varname, expr)
74 return ret 76 return ret
75 def setVar(self, varname, value): 77 def setVar(self, varname, value):
76 if self.dsindex is None: 78 if self.dsindex is None: