diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-23 12:58:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-23 20:06:06 +0100 |
commit | ff5fba8462151364a3834453ee5c861f471cf8d3 (patch) | |
tree | 93b87a7e998c36e368802e77b8f070f7d85758eb /bitbake/lib/bb/command.py | |
parent | b98bd94e2afa33ecc9861eea046fa7bd386b07c3 (diff) | |
download | poky-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/command.py')
-rw-r--r-- | bitbake/lib/bb/command.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 0cfed0a969..60f9ac08aa 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
@@ -271,6 +271,10 @@ class CommandsSync: | |||
271 | # we always take and leave the cooker in state.initial | 271 | # we always take and leave the cooker in state.initial |
272 | setFeatures.readonly = True | 272 | setFeatures.readonly = True |
273 | 273 | ||
274 | def updateConfig(self, command, params): | ||
275 | options = params[0] | ||
276 | command.cooker.updateConfigOpts(options) | ||
277 | |||
274 | class CommandsAsync: | 278 | class CommandsAsync: |
275 | """ | 279 | """ |
276 | A class of asynchronous commands | 280 | A class of asynchronous commands |