diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-12-08 15:08:18 -0500 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-12-08 19:12:49 -0500 |
commit | fc64eff03fe1f41e59128cb3df0ef2161e24a8cb (patch) | |
tree | eeb0330074bc599abee17e93d57d2119a9ed9205 /lib/bb/cooker.py | |
parent | c7c8945ef7ca9465312e630b7fa5f0a87ac8b6c7 (diff) | |
download | bitbake-fc64eff03fe1f41e59128cb3df0ef2161e24a8cb.tar.gz |
cooker: add shutdown/stop methods
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r-- | lib/bb/cooker.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index 4e6ff73b6..1c01ebe6c 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -921,6 +921,12 @@ class BBCooker: bb.event.fire(CookerExit(), self.configuration.event_data) + def shutdown(self): + self.state = state.shutdown + + def stop(self): + self.state = state.stop + class CookerExit(bb.event.Event): """ Notify clients of the Cooker shutdown |