summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2012-10-25 16:43:44 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-27 09:55:54 +0100
commit55cdbd516d0fd4ec7b3649e9d8a00cc2444c147e (patch)
tree6e71d76dd196e9b1c679a0e4749954c2e1a183a4 /bitbake
parenta9c563b1b5879ea597e00097ac7e399d531a0704 (diff)
downloadpoky-55cdbd516d0fd4ec7b3649e9d8a00cc2444c147e.tar.gz
bitbake: hob: during recipe parsing, progress bar text provides details about the process state
- indicating on progress bar that hob has gone from parsing recipes to "Generating dependency tree"; this will provide some visibility of what has caused the "stop" button state to change [YOCTO #3282] (Bitbake rev: d964d04ff1f59a590bd3ab5430517d79e92536d0) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 3c3d303cf6..e5222da285 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -963,7 +963,10 @@ class Builder(gtk.Window):
963 else: 963 else:
964 self.image_configuration_page.stop_button.set_sensitive(True) 964 self.image_configuration_page.stop_button.set_sensitive(True)
965 965
966 self.image_configuration_page.update_progress_bar(message["title"], fraction) 966 if message["eventname"] == "TreeDataPreparationProgress":
967 self.image_configuration_page.update_progress_bar("Generating dependency tree", fraction)
968 else:
969 self.image_configuration_page.update_progress_bar(message["title"], fraction)
967 970
968 def handler_parsing_cb(self, handler, message): 971 def handler_parsing_cb(self, handler, message):
969 if self.current_step != self.RCPPKGINFO_POPULATING: 972 if self.current_step != self.RCPPKGINFO_POPULATING:
@@ -974,7 +977,10 @@ class Builder(gtk.Window):
974 fraction = 0.6 + 0.38 * fraction 977 fraction = 0.6 + 0.38 * fraction
975 else: 978 else:
976 fraction = 0.6 * fraction 979 fraction = 0.6 * fraction
977 self.image_configuration_page.update_progress_bar(message["title"], fraction) 980 if message["eventname"] == "TreeDataPreparationProgress":
981 self.image_configuration_page.update_progress_bar("Generating dependency tree", fraction)
982 else:
983 self.image_configuration_page.update_progress_bar(message["title"], fraction)
978 984
979 def handler_parsing_completed_cb(self, handler, message): 985 def handler_parsing_completed_cb(self, handler, message):
980 if self.current_step != self.RCPPKGINFO_POPULATING: 986 if self.current_step != self.RCPPKGINFO_POPULATING: