summaryrefslogtreecommitdiffstats
path: root/lib/bb/event.py
diff options
context:
space:
mode:
authorBogdan Marinescu <bogdan.a.marinescu@intel.com>2012-09-26 16:59:57 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-27 16:38:30 +0100
commitb48f1351271cc066ffe919db112b14834a6d8f8f (patch)
tree6d3a3f58764d43276823d56bd3a91f181cbcf4ca /lib/bb/event.py
parent53d5d542cd0197ca67c5f90a57808af2f19ff56d (diff)
downloadbitbake-b48f1351271cc066ffe919db112b14834a6d8f8f.tar.gz
Add sanity check progress screen
This patch adds a sanity check progress screen to hob. The screen is displayed when Hob executes the sanity check procedure. The screen is displayed for at least 5 seconds. If a network error is detected, a special dialog is displayed which lets the user open the proxy configuration page directly. Note that currently bitbake triggers the network tests only when the value of its TMPDIR variable changes, which happens fairly rare on my system. This is the subject of another bug (#3026). Version 2 of the patch splits the changes in two parts (sanity.bbclass belongs to oe-core). [YOCTO #3025] Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r--lib/bb/event.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py
index deb1c2159..1889d09e1 100644
--- a/lib/bb/event.py
+++ b/lib/bb/event.py
@@ -562,6 +562,7 @@ class SanityCheckFailed(Event):
"""
Event to indicate sanity check has failed
"""
- def __init__(self, msg):
+ def __init__(self, msg, network_error=False):
Event.__init__(self)
self._msg = msg
+ self._network_error = network_error