diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-12-13 20:07:05 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-14 09:54:48 +0000 |
commit | 74db369c46043116359101cab70486afd82372c0 (patch) | |
tree | 85aeff0cf793c1ef9996a668d8de08909a7896df /lib/bb/command.py | |
parent | a3edc3eefa2d03c4ad5d12187b32fa4dc495082a (diff) | |
download | bitbake-74db369c46043116359101cab70486afd82372c0.tar.gz |
command: provide a means to shut down from the client in memres mode
In memory resident mode we don't really want to actually shut down since
it's only the client going away.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r-- | lib/bb/command.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index caa3e4d45..012b35faf 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -472,3 +472,11 @@ class CommandsAsync: command.finishAsyncCommand() resetCooker.needcache = False + def clientComplete(self, command, params): + """ + Do the right thing when the controlling client exits + """ + command.cooker.clientComplete() + command.finishAsyncCommand() + clientComplete.needcache = False + |