diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-25 12:36:46 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-26 16:37:56 +0100 |
commit | 2f8ce2c784ddf3f74e8ae68e594f750a47ccc3a9 (patch) | |
tree | 51de89b4b2b92044e752ad8d07889d567e226d8a /meta/recipes-devtools | |
parent | 41f88ee1dbda44605301dd7309926e04d146ef52 (diff) | |
download | poky-2f8ce2c784ddf3f74e8ae68e594f750a47ccc3a9.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools')
0 files changed, 0 insertions, 0 deletions