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 12:25:07 +0000 |
commit | e271d7dc606185130e0e47327205bd423490b7c2 (patch) | |
tree | e3bb6e62d6d55cab6a5d12b7a69092f77a940ab2 /bitbake/lib/bb/command.py | |
parent | d325d94f3f8b6a475aebe3ae7d8a140ac6fec779 (diff) | |
download | poky-e271d7dc606185130e0e47327205bd423490b7c2.tar.gz |
bitbake: 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.
(Bitbake rev: 74db369c46043116359101cab70486afd82372c0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
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 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index caa3e4d457..012b35faf6 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
@@ -472,3 +472,11 @@ class CommandsAsync: | |||
472 | command.finishAsyncCommand() | 472 | command.finishAsyncCommand() |
473 | resetCooker.needcache = False | 473 | resetCooker.needcache = False |
474 | 474 | ||
475 | def clientComplete(self, command, params): | ||
476 | """ | ||
477 | Do the right thing when the controlling client exits | ||
478 | """ | ||
479 | command.cooker.clientComplete() | ||
480 | command.finishAsyncCommand() | ||
481 | clientComplete.needcache = False | ||
482 | |||