generic-poky/meta
Richard Purdie 2f8ce2c784 package.bbclass: Clear umask when using os.mkdir
We switched to using os.mkdir with the file creation mode specified as the
second parameter. Python masks this with umask behind the scenes which isn't
what we want, we really want the permissions we specify.

To avoid this we zero the umask beforehand and restore afterwards. Other
solutions are possible but would not perform as well which is why
we're using os.mkdir in the first place.

Martin Jansa deserves the credit for debugging where the problem was.

(From OE-Core rev: f91226553e39439bfd17ab2b06c56cb8bf41061b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-26 16:37:56 +01:00
..
classes package.bbclass: Clear umask when using os.mkdir 2013-09-26 16:37:56 +01:00
conf documentation.conf: update contents 2013-09-24 17:57:03 +01:00
files device_table-minimal.txt: use user/group names instead of uid/gid 2013-08-16 11:14:34 +01:00
lib lib/oeqa/runtime: ping: wait for 5 echo replies 2013-09-26 16:37:55 +01:00
recipes-bsp grub: don't patch generated configure to fix do_patch re-execution 2013-09-24 17:57:03 +01:00
recipes-connectivity bind: port a patch to fix a build failure 2013-09-26 16:37:55 +01:00
recipes-core nativesdk-packagegroup-sdk-host: Add nativesdk-shadow 2013-09-26 16:37:55 +01:00
recipes-devtools perl: do not use pushd 2013-09-24 17:57:03 +01:00
recipes-extended shadow: Add nativesdk to BBCLASSEXTEND 2013-09-26 16:37:55 +01:00
recipes-gnome imake: remove 2013-09-17 14:35:19 +01:00
recipes-graphics x11vnc: respect zeroconf DISTRO_FEATURE to enable Avahi support 2013-09-22 12:19:42 +01:00
recipes-kernel kern-tools: fix multi patch application without headers 2013-09-24 17:24:12 +01:00
recipes-lsb4 libpng12: rename libpng_1.2.50 to libpng12 2013-04-09 13:16:53 +01:00
recipes-multimedia libav: make X11 dependencies dependent on DISTRO_FEATURES 2013-09-24 17:24:12 +01:00
recipes-qt qt-mobility: fix build without X11 2013-09-22 12:19:33 +01:00
recipes-rt rt-tests: add Upstream-Status for cyclictest patch 2013-07-29 13:09:03 +01:00
recipes-sato webkit-gtk: limit ld memory requirement 2013-09-24 17:24:14 +01:00
recipes-support ptest-runner: compatibile with busybox 2013-09-24 17:57:04 +01:00
site apr_cv_mutex_recursive=yes added to apr_1.4.6.bb to make rosnodes work 2013-07-05 15:34:22 +01:00
COPYING.MIT
recipes.txt meta/recipes.txt: add recipes-lsb4 2013-04-10 09:23:17 +01:00