summaryrefslogtreecommitdiffstats
path: root/lib/bb/command.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-13 17:32:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-13 17:45:37 +0100
commitdd15648fc2654b8d7c3e00ea7ab3dbf04f24f24b (patch)
tree578ae8e1e8d6aff4b72d4f99b2fc7dbe79c51494 /lib/bb/command.py
parent12e9d33bfae5294e3870dfd1202f63383ad05e92 (diff)
downloadbitbake-dd15648fc2654b8d7c3e00ea7ab3dbf04f24f24b.tar.gz
cooker/command: Add finishcommand to reset cooker state
After running a command on the server, it needs to reset to the initial state. This ensures that subsequent clients start from a known state and notice any configuration changes. Ultimately we may want to do more than this buts a good start and better than nothing. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r--lib/bb/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py
index 641cc7061..6c7b89193 100644
--- a/lib/bb/command.py
+++ b/lib/bb/command.py
@@ -124,7 +124,7 @@ class Command:
else:
bb.event.fire(CommandCompleted(), self.cooker.event_data)
self.currentAsyncCommand = None
-
+ self.cooker.finishcommand()
class CommandsSync:
"""