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:07:38 +0000 |
commit | 6dca6fd47c5e8d66687fb07177e98cd531cd971d (patch) | |
tree | 9663f9616c65a418928357376adba773f95de3d3 /lib/toaster/bldcontrol | |
parent | 05695424b918fc81b16cbac70d79d8271a0b6045 (diff) | |
download | bitbake-6dca6fd47c5e8d66687fb07177e98cd531cd971d.tar.gz |
toaster: implement BitbakeController.triggerEvent
This API will be used to pass data from Toaster to
toaster_ui and buildinfohelper.
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>
Diffstat (limited to 'lib/toaster/bldcontrol')
-rw-r--r-- | lib/toaster/bldcontrol/bbcontroller.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/toaster/bldcontrol/bbcontroller.py b/lib/toaster/bldcontrol/bbcontroller.py index 8b9931843..781ff73d1 100644 --- a/lib/toaster/bldcontrol/bbcontroller.py +++ b/lib/toaster/bldcontrol/bbcontroller.py @@ -55,6 +55,9 @@ class BitbakeController(object): def getVariable(self, name): return self._runCommand(["getVariable", name]) + def triggerEvent(self, event): + return self._runCommand(["triggerEvent", event]) + def build(self, targets, task = None): if task is None: task = "build" |