diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2014-03-12 18:47:40 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-14 07:18:46 -0700 |
commit | 5396191fed7921c6d0762ba71f182ce2d0174686 (patch) | |
tree | 7ebda383ba91691d16cf71bddc4b856120ecf091 /bitbake/lib/bb/ui/toasterui.py | |
parent | 839f30486e82710b54deaa979bf69390013ec8b6 (diff) | |
download | poky-5396191fed7921c6d0762ba71f182ce2d0174686.tar.gz |
bitbake: toaster: add license manifest path to database
Based on image_name, the target is obtained, and the path
is added to the database.
[YOCTO #5649]
(Bitbake rev: 911b5191133956c30d53f57629c115db196b9ac8)
Signed-off-by: Cristiana Voicu <cristiana.voicu@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.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py index 04e0f99342..b2c084cb8e 100644 --- a/bitbake/lib/bb/ui/toasterui.py +++ b/bitbake/lib/bb/ui/toasterui.py | |||
@@ -235,14 +235,16 @@ def main(server, eventHandler, params ): | |||
235 | if isinstance(event, bb.event.MetadataEvent): | 235 | if isinstance(event, bb.event.MetadataEvent): |
236 | if event.type == "SinglePackageInfo": | 236 | if event.type == "SinglePackageInfo": |
237 | buildinfohelper.store_build_package_information(event) | 237 | buildinfohelper.store_build_package_information(event) |
238 | if event.type == "LayerInfo": | 238 | elif event.type == "LayerInfo": |
239 | buildinfohelper.store_layer_info(event) | 239 | buildinfohelper.store_layer_info(event) |
240 | if event.type == "BuildStatsList": | 240 | elif event.type == "BuildStatsList": |
241 | buildinfohelper.store_tasks_stats(event) | 241 | buildinfohelper.store_tasks_stats(event) |
242 | if event.type == "ImagePkgList": | 242 | elif event.type == "ImagePkgList": |
243 | buildinfohelper.store_target_package_data(event) | 243 | buildinfohelper.store_target_package_data(event) |
244 | elif event.type == "ImageFileSize": | 244 | elif event.type == "ImageFileSize": |
245 | buildinfohelper.update_target_image_file(event) | 245 | buildinfohelper.update_target_image_file(event) |
246 | elif event.type == "LicenseManifestPath": | ||
247 | buildinfohelper.store_license_manifest_path(event) | ||
246 | continue | 248 | continue |
247 | 249 | ||
248 | # ignore | 250 | # ignore |