summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/toasterui.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-11-27 13:56:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-10 11:16:12 +0000
commitea307bbcff38fdc93aab438156ed60704e06d27a (patch)
treef58e0cd69ac7a61d1f31d060e84604aa40d1a92e /bitbake/lib/bb/ui/toasterui.py
parent6cbc83fe8977c07ad2ac829f13fb850c054d89b7 (diff)
downloadpoky-ea307bbcff38fdc93aab438156ed60704e06d27a.tar.gz
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 <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.py4
1 files changed, 2 insertions, 2 deletions
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 ):
93 taskfailures = [] 93 taskfailures = []
94 94
95 buildinfohelper = BuildInfoHelper(server, build_history_enabled) 95 buildinfohelper = BuildInfoHelper(server, build_history_enabled)
96 buildinfohelper.store_layer_info()
97 96
98 97
99 while True: 98 while True:
@@ -232,12 +231,13 @@ def main(server, eventHandler, params ):
232 warnings = 0 231 warnings = 0
233 taskfailures = [] 232 taskfailures = []
234 buildinfohelper = BuildInfoHelper(server, build_history_enabled) 233 buildinfohelper = BuildInfoHelper(server, build_history_enabled)
235 buildinfohelper.store_layer_info()
236 continue 234 continue
237 235
238 if isinstance(event, bb.event.MetadataEvent): 236 if isinstance(event, bb.event.MetadataEvent):
239 if event.type == "SinglePackageInfo": 237 if event.type == "SinglePackageInfo":
240 buildinfohelper.store_build_package_information(event) 238 buildinfohelper.store_build_package_information(event)
239 if event.type == "LayerInfo":
240 buildinfohelper.store_layer_info(event)
241 continue 241 continue
242 242
243 # ignore 243 # ignore