diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-13 17:31:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-14 08:20:38 +0100 |
commit | 7663a520612203db35145609a8ff3fd80de4149a (patch) | |
tree | 7b26dd111b828926eaccb36144548e900069e080 /bitbake/lib/bb/ui/crumbs | |
parent | 2174a51ee8bcfd3a14e0a889e9beccc0b32e406b (diff) | |
download | poky-7663a520612203db35145609a8ff3fd80de4149a.tar.gz |
bitbake: cooker: Rename confusing 'stop' state to 'forceshutdown'
The shutdown state causes the server to finish what its doing, stop was
them meant to completely stop it. It doesn't mean the server is stopped
though. Renaming the current stop event for forceshutdown gives more
meaning to what it actually does. The stopped namespace then becomes
available to indicate a completely stopped server.
(Bitbake rev: 12e9d33bfae5294e3870dfd1202f63383ad05e92)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index d0ac6bd677..ef74e563f9 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -440,12 +440,12 @@ class HobHandler(gobject.GObject): | |||
440 | self.building = False | 440 | self.building = False |
441 | 441 | ||
442 | def cancel_parse(self): | 442 | def cancel_parse(self): |
443 | self.runCommand(["stateStop"]) | 443 | self.runCommand(["stateForceShutdown"]) |
444 | 444 | ||
445 | def cancel_build(self, force=False): | 445 | def cancel_build(self, force=False): |
446 | if force: | 446 | if force: |
447 | # Force the cooker to stop as quickly as possible | 447 | # Force the cooker to stop as quickly as possible |
448 | self.runCommand(["stateStop"]) | 448 | self.runCommand(["stateForceShutdown"]) |
449 | else: | 449 | else: |
450 | # Wait for tasks to complete before shutting down, this helps | 450 | # Wait for tasks to complete before shutting down, this helps |
451 | # leave the workdir in a usable state | 451 | # leave the workdir in a usable state |