summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-07-15 18:06:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-21 22:08:09 +0100
commitaccd46c65f7eb51b96adb495efe9bcdbaacd4948 (patch)
tree0869e1ab2f13f577bc5d34ed71611c91b40f2328 /bitbake
parenta1e18b913ffb7e31fe1fd6f785d15dbfad365228 (diff)
downloadast2050-yocto-poky-accd46c65f7eb51b96adb495efe9bcdbaacd4948.zip
ast2050-yocto-poky-accd46c65f7eb51b96adb495efe9bcdbaacd4948.tar.gz
ui/hob: add more guidance to the stop dialog
This patch adds explanation of the different options when asking the user to choose between Stop and Force Stop so they can make an informed choice. Fixes [YOCTO #1223] (Bitbake rev: afb87a809962b756f8282c9e9fdf9b15cdb9192b) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/hob.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index 06d936e..aed7eac 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -650,7 +650,14 @@ class MainWindow (gtk.Window):
return vbox
def cancel_build(self, button):
- lbl = "<b>Stop build?</b>\n\nAre you sure you want to stop this build?"
+ lbl = "<b>Stop build?</b>\n\nAre you sure you want to stop this build?\n"
+ lbl = lbl + "'Force Stop' will stop the build as quickly as"
+ lbl = lbl + " possible but may well leave your build directory in an"
+ lbl = lbl + " unusable state that requires manual steps to fix.\n"
+ lbl = lbl + "'Stop' will stop the build as soon as all in"
+ lbl = lbl + " progress build tasks are finished. However if a"
+ lbl = lbl + " lengthy compilation phase is in progress this may take"
+ lbl = lbl + " some time."
dialog = CrumbsDialog(self, lbl, gtk.STOCK_DIALOG_WARNING)
dialog.add_button(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL)
dialog.add_button("Stop", gtk.RESPONSE_OK)
OpenPOWER on IntegriCloud