diff options
-rw-r--r-- | bitbake/lib/bb/event.py | 10 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 67cfceaf53..10eae5fde8 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -589,6 +589,16 @@ class PackageInfo(Event): | |||
589 | Event.__init__(self) | 589 | Event.__init__(self) |
590 | self._pkginfolist = pkginfolist | 590 | self._pkginfolist = pkginfolist |
591 | 591 | ||
592 | class MetadataEvent(Event): | ||
593 | """ | ||
594 | Generic event that target for OE-Core classes | ||
595 | to report information during asynchrous execution | ||
596 | """ | ||
597 | def __init__(self, eventtype, eventdata): | ||
598 | Event.__init__(self) | ||
599 | self.type = eventtype | ||
600 | self.data = eventdata | ||
601 | |||
592 | class SanityCheck(Event): | 602 | class SanityCheck(Event): |
593 | """ | 603 | """ |
594 | Event to issue sanity check | 604 | Event to issue sanity check |
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 0211b50aba..c1ee9f5269 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -477,6 +477,7 @@ def main(server, eventHandler, params, tf = TerminalFilter): | |||
477 | 477 | ||
478 | # ignore | 478 | # ignore |
479 | if isinstance(event, (bb.event.BuildBase, | 479 | if isinstance(event, (bb.event.BuildBase, |
480 | bb.event.MetadataEvent, | ||
480 | bb.event.StampUpdate, | 481 | bb.event.StampUpdate, |
481 | bb.event.ConfigParsed, | 482 | bb.event.ConfigParsed, |
482 | bb.event.RecipeParsed, | 483 | bb.event.RecipeParsed, |