summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.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/cooker.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/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index a4aaac59f8..620ff9f3d3 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -358,6 +358,7 @@ class BBCooker:
358 self.databuilder.parseBaseConfiguration() 358 self.databuilder.parseBaseConfiguration()
359 self.data = self.databuilder.data 359 self.data = self.databuilder.data
360 self.data_hash = self.databuilder.data_hash 360 self.data_hash = self.databuilder.data_hash
361 self.extraconfigdata = {}
361 362
362 if consolelog: 363 if consolelog:
363 self.data.setVar("BB_CONSOLELOG", consolelog) 364 self.data.setVar("BB_CONSOLELOG", consolelog)