aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/sanity.bbclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index 479abce7fa..33cdae33ac 100644
--- a/classes/sanity.bbclass
+++ b/classes/sanity.bbclass
@@ -90,7 +90,7 @@ def check_sanity(e):
if not check_app_exists('${BUILD_PREFIX}g++', e.data):
missing = missing + "C++ Compiler (${BUILD_PREFIX}g++),"
- required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk md5sum"
+ required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk md5sum stty"
for util in required_utilities.split():
if not check_app_exists( util, e.data ):
@@ -109,6 +109,11 @@ def check_sanity(e):
if not oes_bb_conf:
messages = messages + 'You do not include OpenEmbeddeds version of conf/bitbake.conf\n'
+ # Check if the terminal has stty +tostop
+ if "tostop" in os.popen("stty").read():
+ messages = messages + "You have tostop in your stty terminal setting. This will make BitBake hang when executing. Execute stty -tostop fix this.\n"
+
+
if messages != "":
raise_sanity_error(messages)