From: Elliot Smith Date: Mon, 18 Jan 2016 13:45:08 +0000 (+0200) Subject: toasterui: listen for bb.event.MetadataEvent X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d0276a831bb8cffd42c8367895633eaa1fa1ed30;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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] Signed-off-by: Elliot Smith Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- diff --git a/lib/bb/ui/toasterui.py b/lib/bb/ui/toasterui.py index 0265df7b3ec..19be6230482 100644 --- a/lib/bb/ui/toasterui.py +++ b/lib/bb/ui/toasterui.py @@ -99,7 +99,8 @@ _evt_list = [ "bb.runqueue.runQueueExitWait", "bb.event.LogExecTTY", "logging.Lo "bb.command.CommandExit", "bb.command.CommandCompleted", "bb.cooker.CookerExit", "bb.event.MultipleProviders", "bb.event.NoProvider", "bb.runqueue.sceneQueueTaskStarted", "bb.runqueue.runQueueTaskStarted", "bb.runqueue.runQueueTaskFailed", "bb.runqueue.sceneQueueTaskFailed", - "bb.event.BuildBase", "bb.build.TaskStarted", "bb.build.TaskSucceeded", "bb.build.TaskFailedSilent"] + "bb.event.BuildBase", "bb.build.TaskStarted", "bb.build.TaskSucceeded", "bb.build.TaskFailedSilent", + "bb.event.MetadataEvent"] def main(server, eventHandler, params): # set to a logging.FileHandler instance when a build starts;