summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-23 12:58:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-23 20:06:06 +0100
commitff5fba8462151364a3834453ee5c861f471cf8d3 (patch)
tree93b87a7e998c36e368802e77b8f070f7d85758eb /bitbake/lib/bb/cooker.py
parentb98bd94e2afa33ecc9861eea046fa7bd386b07c3 (diff)
downloadpoky-ff5fba8462151364a3834453ee5c861f471cf8d3.tar.gz
bitbake: knotty: Ensure commandline parameters are updated in memres server
When using options like -k, -f, -v and so on with the memory resident server, they'd currently only be set on the initial values passed to the original command. This ensures they now match those specified on the commandline for the options where this makes sense. To make this work, a command to update the options on the server side is required so this is added. [YOCTO #5292] (Bitbake rev: 1c75cc4d0c8b606c1fe76e6bf60bf6a32298b105) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index f463603d5a..c6c69c30ea 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -371,6 +371,10 @@ class BBCooker:
371 371
372 self.handleCollections( self.data.getVar("BBFILE_COLLECTIONS", True) ) 372 self.handleCollections( self.data.getVar("BBFILE_COLLECTIONS", True) )
373 373
374 def updateConfigOpts(self,options):
375 for o in options:
376 setattr(self.configuration, o, options[o])
377
374 def runCommands(self, server, data, abort): 378 def runCommands(self, server, data, abort):
375 """ 379 """
376 Run any queued asynchronous command 380 Run any queued asynchronous command