This API will be used to pass data from Toaster to toaster_ui and buildinfohelper.
Signed-off-by: Ed Bartosh <[email protected]> --- bitbake/lib/toaster/bldcontrol/bbcontroller.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bitbake/lib/toaster/bldcontrol/bbcontroller.py b/bitbake/lib/toaster/bldcontrol/bbcontroller.py index 8b99318..781ff73 100644 --- a/bitbake/lib/toaster/bldcontrol/bbcontroller.py +++ b/bitbake/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" -- 2.1.4 -- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
