From ea307bbcff38fdc93aab438156ed60704e06d27a Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Wed, 27 Nov 2013 13:56:19 +0000 Subject: bitbake: toaster: move layer information reading code In the processes of removing local system accesses from toaster UI, we remove the layer data reading code that was moved to toaster.bbclass, and adapt the database writing code to read the data from event sent by the toaster.bbclass [YOCTO #5604] (Bitbake rev: 33b60a940f58e8374a8c7baa9bf28a98f54cdf13) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/toasterui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/bb/ui/toasterui.py') diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py index 8e30a91109..50493e7b0d 100644 --- a/bitbake/lib/bb/ui/toasterui.py +++ b/bitbake/lib/bb/ui/toasterui.py @@ -93,7 +93,6 @@ def main(server, eventHandler, params ): taskfailures = [] buildinfohelper = BuildInfoHelper(server, build_history_enabled) - buildinfohelper.store_layer_info() while True: @@ -232,12 +231,13 @@ def main(server, eventHandler, params ): warnings = 0 taskfailures = [] buildinfohelper = BuildInfoHelper(server, build_history_enabled) - buildinfohelper.store_layer_info() continue if isinstance(event, bb.event.MetadataEvent): if event.type == "SinglePackageInfo": buildinfohelper.store_build_package_information(event) + if event.type == "LayerInfo": + buildinfohelper.store_layer_info(event) continue # ignore -- cgit v1.2.3-54-g00ecf