summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-08 15:08:18 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:47 +0000
commit246bd1861367066db325bb12a90551319675ad7b (patch)
tree84f82034b825fd790e05c32416b0d0e7a57c074c /bitbake/lib/bb/command.py
parent825e5045f40185666605392138289448e33ec72d (diff)
downloadopenembedded-core-246bd1861367066db325bb12a90551319675ad7b.tar.gz
openembedded-core-246bd1861367066db325bb12a90551319675ad7b.tar.bz2
openembedded-core-246bd1861367066db325bb12a90551319675ad7b.tar.xz
openembedded-core-246bd1861367066db325bb12a90551319675ad7b.zip
cooker: add shutdown/stop methods
(Bitbake rev: fc64eff03fe1f41e59128cb3df0ef2161e24a8cb) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 654ede0e8..30c7240cf 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -124,13 +124,13 @@ class CommandsSync:
"""
Trigger cooker 'shutdown' mode
"""
- command.cooker.state = bb.cooker.state.shutdown
+ command.cooker.shutdown()
def stateStop(self, command, params):
"""
Stop the cooker
"""
- command.cooker.state = bb.cooker.state.stop
+ command.cooker.stop()
def getCmdLineAction(self, command, params):
"""