diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-12-09 14:25:47 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-14 23:13:06 +0000 |
commit | fdb8e7433cea45027a85dc9c74e1ff758517e2b6 (patch) | |
tree | 65746cf09a85c296c1e595939836da43070dff0d | |
parent | 5de3800c3081dfa3db55f80788eaeda6dd7d9f29 (diff) | |
download | poky-fdb8e7433cea45027a85dc9c74e1ff758517e2b6.tar.gz |
bitbake: toaster: implement BitbakeController.triggerEvent
This API will be used to pass data from Toaster to
toaster_ui and buildinfohelper.
(Bitbake rev: 6dca6fd47c5e8d66687fb07177e98cd531cd971d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/bbcontroller.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/bbcontroller.py b/bitbake/lib/toaster/bldcontrol/bbcontroller.py index 8b99318433..781ff73d1a 100644 --- a/bitbake/lib/toaster/bldcontrol/bbcontroller.py +++ b/bitbake/lib/toaster/bldcontrol/bbcontroller.py | |||
@@ -55,6 +55,9 @@ class BitbakeController(object): | |||
55 | def getVariable(self, name): | 55 | def getVariable(self, name): |
56 | return self._runCommand(["getVariable", name]) | 56 | return self._runCommand(["getVariable", name]) |
57 | 57 | ||
58 | def triggerEvent(self, event): | ||
59 | return self._runCommand(["triggerEvent", event]) | ||
60 | |||
58 | def build(self, targets, task = None): | 61 | def build(self, targets, task = None): |
59 | if task is None: | 62 | if task is None: |
60 | task = "build" | 63 | task = "build" |