summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-12-13 20:07:12 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-14 12:25:07 +0000
commit8d315820aa2c860bee05175a42360e549601a16f (patch)
treea6f9853e108c13d4c8512ae0e7a532d86ef6e776 /bitbake/lib/bb/command.py
parent7229250411e7517cdf9e464d7f6033b155811bd8 (diff)
downloadpoky-8d315820aa2c860bee05175a42360e549601a16f.tar.gz
bitbake: runqueue: enable setVariable command to affect task execution
Allow the client to set variables with the setVariable command and have those changes take effect when running tasks. This is accomplished by collecting changes made by setVariable separately and pass these to the worker so it can be applied on top of the datastore it creates. (Bitbake rev: 69a3cd790da35c3898a8f50c284ad1a4677682a4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 3b68c1aaa2..5bce796b7c 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -187,6 +187,7 @@ class CommandsSync:
187 """ 187 """
188 varname = params[0] 188 varname = params[0]
189 value = str(params[1]) 189 value = str(params[1])
190 command.cooker.extraconfigdata[varname] = value
190 command.cooker.data.setVar(varname, value) 191 command.cooker.data.setVar(varname, value)
191 192
192 def getSetVariable(self, command, params): 193 def getSetVariable(self, command, params):