| Submitter | Dongxiao Xu |
|---|---|
| Date | Jan. 13, 2012, 8:30 a.m. |
| Message ID | <344db22aba86cb665c3318d32655047c00eb6c6c.1326442655.git.dongxiao.xu@intel.com> |
| Download | mbox | patch |
| Permalink | /patch/19271/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/lib/bb/command.py b/lib/bb/command.py index 43875f7..a2c464f 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -179,6 +179,12 @@ class CommandsSync: """ return bb.utils.cpu_count() + def triggerEvent(self, command, params): + """ + Trigger a certain event + """ + event = params[0] + bb.event.fire(event, command.cooker.configuration.data) class CommandsAsync: """
This functions enables the client to request triggering specific event from bitbake server. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> --- lib/bb/command.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)