diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2012-03-10 03:11:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-04 16:53:49 +0100 |
commit | d2a54427481856238bdfec9723cf575088320512 (patch) | |
tree | 764642c6bcf162a5b99a6bf03310023864d8aba2 /meta/classes/package_rpm.bbclass | |
parent | 20996da46aff03e61de50444ab3a0ab46c057dfd (diff) | |
download | openembedded-core-d2a54427481856238bdfec9723cf575088320512.tar.gz openembedded-core-d2a54427481856238bdfec9723cf575088320512.tar.bz2 openembedded-core-d2a54427481856238bdfec9723cf575088320512.tar.xz openembedded-core-d2a54427481856238bdfec9723cf575088320512.zip |
package_{deb,ipk,rpm}: apply umask to files generated in do_package_write_{deb,ipk,rpm}
* Explicitly set umask to 022. Otherwise the build system's
umask may leak into the image.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r-- | meta/classes/package_rpm.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 0ccf57485..16a2c8751 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass @@ -1103,6 +1103,7 @@ python do_package_write_rpm () { } do_package_write_rpm[dirs] = "${PKGWRITEDIRRPM}" +do_package_write_rpm[umask] = "022" addtask package_write_rpm before do_package_write after do_package PACKAGEINDEXES += "package_update_index_rpm; createrepo ${DEPLOY_DIR_RPM};" |