diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-21 10:49:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-21 11:35:58 +0000 |
commit | 4d1343010da757a0c126bc22475354da44aaf8e3 (patch) | |
tree | b1ed47ced02b78db1698d07b4d61993f7f4b0d31 /lib/bb/command.py | |
parent | b4d40f1ac7b32990c456cce261f99a5a157b5ae5 (diff) | |
download | bitbake-contrib-4d1343010da757a0c126bc22475354da44aaf8e3.tar.gz |
command/cooker/knotty: Fix memres handling of command environment changes
If the environment changes, we need memory resident bitbake to adapt to those
changes. This adds in functionality to handle this alongside the configuration
option handling code. This means that the common usage:
MACHINE=X bitbake Y
now works with the memory resident server.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r-- | lib/bb/command.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index 60f9ac08a..29b0a53e9 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -273,7 +273,8 @@ class CommandsSync: def updateConfig(self, command, params): options = params[0] - command.cooker.updateConfigOpts(options) + environment = params[1] + command.cooker.updateConfigOpts(options, environment) class CommandsAsync: """ |