summaryrefslogtreecommitdiffstats
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:57:05 +0100
commit477f685ce0cb48acf04074ff5be321b38e9974d5 (patch)
tree041dbede777e5e3c1fb54260301d408e64d06874 /meta/recipes-kernel/linux
parentb320f558ed06fc1b1f5a61c638fbaabeb0e24f64 (diff)
downloadpoky-477f685ce0cb48acf04074ff5be321b38e9974d5.tar.gz
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. (From OE-Core rev: 0cfa7ebcf661aa0645c6d4d858b04946ebacb7e4) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 e4740d73bb..729e912714 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() {
19addtask compile_perf after do_compile before do_install 19addtask compile_perf after do_compile before do_install
20addtask install_perf after do_install before do_package 20addtask install_perf after do_install before do_package
21 21
22do_compile_perf[umask] = 022
23do_install_perf[umask] = 022
22 24
23PERFDEPENDS = "virtual/libc:do_populate_sysroot elfutils:do_populate_sysroot" 25PERFDEPENDS = "virtual/libc:do_populate_sysroot elfutils:do_populate_sysroot"
24PERFDEPENDS_libc-uclibc = "" 26PERFDEPENDS_libc-uclibc = ""