summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/toasterui.py
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2014-03-12 18:47:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-14 07:18:46 -0700
commit839f30486e82710b54deaa979bf69390013ec8b6 (patch)
treefa8b05426616274e4467f8776ae27fb33d196a1b /bitbake/lib/bb/ui/toasterui.py
parenta3eb7da31c998ae202717a91917954e98cbf8eb8 (diff)
downloadpoky-839f30486e82710b54deaa979bf69390013ec8b6.tar.gz
poky-839f30486e82710b54deaa979bf69390013ec8b6.tar.bz2
poky-839f30486e82710b54deaa979bf69390013ec8b6.zip
bitbake: toaster: populate target image file table
Using ImageFileSize Metadata event, the image output file and its size are populated into target_image_file table. [YOCTO #5189] [YOCTO #5228] (Bitbake rev: a0b06d362b9aa08fda293489467af343c6ca6de4) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/toasterui.py')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index e469d93e82..04e0f99342 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -241,6 +241,8 @@ def main(server, eventHandler, params ):
buildinfohelper.store_tasks_stats(event)
if event.type == "ImagePkgList":
buildinfohelper.store_target_package_data(event)
+ elif event.type == "ImageFileSize":
+ buildinfohelper.update_target_image_file(event)
continue
# ignore