[oe-commits] [openembedded-core] branch master-next updated: ptest: Reproducibility: Take control of umask
git at git.openembedded.org
git at git.openembedded.org
Thu Nov 22 23:45:57 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
The following commit(s) were added to refs/heads/master-next by this push:
new 8dbc601 ptest: Reproducibility: Take control of umask
8dbc601 is described below
commit 8dbc601af6526409890ac669da681abba7489998
Author: Douglas Royds <douglas.royds at taitradio.com>
AuthorDate: Thu Nov 22 18:39:42 2018 +1300
ptest: Reproducibility: Take control of umask
The build host umask was leaking into the thing-ptest packages
at do_install_ptest() time.
Signed-off-by: Douglas Royds <douglas.royds at taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/ptest.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index c19f65b..9d8a798 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -59,6 +59,7 @@ addtask install_ptest_base after do_install before do_package do_populate_sy
python () {
if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d):
d.setVarFlag('do_install_ptest_base', 'fakeroot', '1')
+ d.setVarFlag('do_install_ptest_base', 'umask', '022')
# Remove all '*ptest_base' tasks when ptest is not enabled
if not(d.getVar('PTEST_ENABLED') == "1"):
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list