[bitbake-devel] [PATCH] hob: during recipe parsing, progress bar text provides details about the process state
Cristiana Voicu
cristiana.voicu at intel.com
Thu Oct 25 13:43:44 UTC 2012
- 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]
Signed-off-by: Cristiana Voicu <cristiana.voicu at intel.com>
---
bitbake/lib/bb/ui/crumbs/builder.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 2fc4a29..67d7de8 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -962,7 +962,10 @@ class Builder(gtk.Window):
else:
self.image_configuration_page.stop_button.set_sensitive(True)
- self.image_configuration_page.update_progress_bar(message["title"], fraction)
+ if message["eventname"] == "TreeDataPreparationProgress":
+ self.image_configuration_page.update_progress_bar("Generating dependency tree", fraction)
+ else:
+ self.image_configuration_page.update_progress_bar(message["title"], fraction)
def handler_parsing_cb(self, handler, message):
if self.current_step != self.RCPPKGINFO_POPULATING:
@@ -973,7 +976,10 @@ class Builder(gtk.Window):
fraction = 0.6 + 0.38 * fraction
else:
fraction = 0.6 * fraction
- self.image_configuration_page.update_progress_bar(message["title"], fraction)
+ if message["eventname"] == "TreeDataPreparationProgress":
+ self.image_configuration_page.update_progress_bar("Generating dependency tree", fraction)
+ else:
+ self.image_configuration_page.update_progress_bar(message["title"], fraction)
def handler_parsing_completed_cb(self, handler, message):
if self.current_step != self.RCPPKGINFO_POPULATING:
--
1.7.9.5
More information about the bitbake-devel
mailing list