summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/linux
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-06-21 23:56:25 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-30 20:46:34 +0100
commit0cfa7ebcf661aa0645c6d4d858b04946ebacb7e4 (patch)
tree38957f48c6aee97271a6494fb7fd1d192e700767 /meta/recipes-kernel/linux
parentdb6a4e07f3a35163c751996ca3ac86b6bf5650e9 (diff)
downloadopenembedded-core-0cfa7ebcf661aa0645c6d4d858b04946ebacb7e4.tar.gz
openembedded-core-0cfa7ebcf661aa0645c6d4d858b04946ebacb7e4.tar.bz2
openembedded-core-0cfa7ebcf661aa0645c6d4d858b04946ebacb7e4.tar.xz
openembedded-core-0cfa7ebcf661aa0645c6d4d858b04946ebacb7e4.zip
Add umask task control
Bitbake now allows the umask to be specified per task. The following tasks will have a umask of 022 set by default: do_configure do_compile do_install do_package do_populate_sysroot do_rootfs do_configure and do_compile need a umask of 022 set because -many- recipes directly copy generated files out of recipe's build directory. Instead of fixing each existing and future recipe, it was shown to be much easier to just set the umask. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/recipes-kernel/linux')
-rw-r--r--meta/recipes-kernel/linux/linux-tools.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc
index e4740d73b..729e91271 100644
--- a/meta/recipes-kernel/linux/linux-tools.inc
+++ b/meta/recipes-kernel/linux/linux-tools.inc
@@ -19,6 +19,8 @@ fakeroot do_install_perf() {
addtask compile_perf after do_compile before do_install
addtask install_perf after do_install before do_package
+do_compile_perf[umask] = 022
+do_install_perf[umask] = 022
PERFDEPENDS = "virtual/libc:do_populate_sysroot elfutils:do_populate_sysroot"
PERFDEPENDS_libc-uclibc = ""