aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/command.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 19:59:23 +0100
commit1c75cc4d0c8b606c1fe76e6bf60bf6a32298b105 (patch)
tree56e63ce4a36a5c3a8ae13b3914a087ae6c52fad3 /lib/bb/command.py
parentcd477b5e77ab0373248b8a8fa30e1c7b8ea984fd (diff)
downloadbitbake-1c75cc4d0c8b606c1fe76e6bf60bf6a32298b105.tar.gz
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] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r--lib/bb/command.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py
index 0cfed0a96..60f9ac08a 100644
--- a/lib/bb/command.py
+++ b/lib/bb/command.py
@@ -271,6 +271,10 @@ class CommandsSync:
# we always take and leave the cooker in state.initial
setFeatures.readonly = True
+ def updateConfig(self, command, params):
+ options = params[0]
+ command.cooker.updateConfigOpts(options)
+
class CommandsAsync:
"""
A class of asynchronous commands