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>
This commit is contained in:
Ed Bartosh
2015-12-09 14:25:47 +00:00
committed by Richard Purdie
parent 5de3800c30
commit fdb8e7433c

View File

@@ -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"