projects
/
scm
/
bb
/
tizen-distro.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b43552
)
sanity.bbclass: Add umask check
author
Richard Purdie
<richard@openedhand.com>
Wed, 29 Nov 2006 16:55:31 +0000
(16:55 +0000)
committer
Richard Purdie
<richard@openedhand.com>
Wed, 29 Nov 2006 16:55:31 +0000
(16:55 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@986
311d38ba
-8fff-0310-9ca6-
ca027cbcb966
meta/classes/sanity.bbclass
patch
|
blob
|
history
diff --git
a/meta/classes/sanity.bbclass
b/meta/classes/sanity.bbclass
index
019edd9
..
e8cff1d
100644
(file)
--- a/
meta/classes/sanity.bbclass
+++ b/
meta/classes/sanity.bbclass
@@
-103,6
+103,11
@@
def check_sanity(e):
missing = missing.rstrip(',')
messages = messages + "Please install following missing utilities: %s\n" % missing
+ omask = os.umask(022)
+ if omask & 0755:
+ messages = messages + "Please use a umask which allows a+rx and u+rwx\n"
+ os.umask(omask)
+
if messages != "":
raise_sanity_error(messages)