summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/sanity.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 019edd963e..e8cff1d348 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -103,6 +103,11 @@ def check_sanity(e):
103 missing = missing.rstrip(',') 103 missing = missing.rstrip(',')
104 messages = messages + "Please install following missing utilities: %s\n" % missing 104 messages = messages + "Please install following missing utilities: %s\n" % missing
105 105
106 omask = os.umask(022)
107 if omask & 0755:
108 messages = messages + "Please use a umask which allows a+rx and u+rwx\n"
109 os.umask(omask)
110
106 if messages != "": 111 if messages != "":
107 raise_sanity_error(messages) 112 raise_sanity_error(messages)
108 113