summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
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-devtools
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-devtools')
-rw-r--r--meta/recipes-devtools/installer/adt-installer_1.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb
index 8f6e91fc5b..0537440a6f 100644
--- a/meta/recipes-devtools/installer/adt-installer_1.0.bb
+++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb
@@ -54,6 +54,8 @@ SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
54 file://opkg/conf/opkg-sdk-i686.conf \ 54 file://opkg/conf/opkg-sdk-i686.conf \
55 " 55 "
56 56
57do_deploy[umask] = 022
58
57fakeroot do_deploy () { 59fakeroot do_deploy () {
58 cd ${WORKDIR} 60 cd ${WORKDIR}
59 mkdir -p ${ADT_DEPLOY} 61 mkdir -p ${ADT_DEPLOY}