summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2016-01-18 15:45:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-18 22:06:46 +0000
commitfb94754e8398299b1b269e130c8dde684c545caf (patch)
tree78dfdd4f1e6d5dea33582d8c98231f6cf6269035 /bitbake
parenta2f23fa62858b89850aab339ddec16dcf6026b37 (diff)
downloadpoky-fb94754e8398299b1b269e130c8dde684c545caf.tar.gz
bitbake: toasterui: listen for bb.event.MetadataEvent
The event mask for toasterui doesn't include MetadataEvents. This means that we're missing the ArtifactFileSize event (among others), which is the one we use to populate the SDK artifact table. Add that event type to the toasterui event mask so we can record SDK artifacts as they are created. [YOCTO #7603] (Bitbake rev: d0276a831bb8cffd42c8367895633eaa1fa1ed30) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index 0265df7b3e..19be623048 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -99,7 +99,8 @@ _evt_list = [ "bb.runqueue.runQueueExitWait", "bb.event.LogExecTTY", "logging.Lo
99 "bb.command.CommandExit", "bb.command.CommandCompleted", "bb.cooker.CookerExit", 99 "bb.command.CommandExit", "bb.command.CommandCompleted", "bb.cooker.CookerExit",
100 "bb.event.MultipleProviders", "bb.event.NoProvider", "bb.runqueue.sceneQueueTaskStarted", 100 "bb.event.MultipleProviders", "bb.event.NoProvider", "bb.runqueue.sceneQueueTaskStarted",
101 "bb.runqueue.runQueueTaskStarted", "bb.runqueue.runQueueTaskFailed", "bb.runqueue.sceneQueueTaskFailed", 101 "bb.runqueue.runQueueTaskStarted", "bb.runqueue.runQueueTaskFailed", "bb.runqueue.sceneQueueTaskFailed",
102 "bb.event.BuildBase", "bb.build.TaskStarted", "bb.build.TaskSucceeded", "bb.build.TaskFailedSilent"] 102 "bb.event.BuildBase", "bb.build.TaskStarted", "bb.build.TaskSucceeded", "bb.build.TaskFailedSilent",
103 "bb.event.MetadataEvent"]
103 104
104def main(server, eventHandler, params): 105def main(server, eventHandler, params):
105 # set to a logging.FileHandler instance when a build starts; 106 # set to a logging.FileHandler instance when a build starts;