aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Royds <douglas.royds@taitradio.com>2018-11-22 18:39:42 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-23 23:32:10 +0000
commit891343e8ba6490ca3e1876c892269b611ddc7877 (patch)
tree7e15457f15cb762594330d0f143e84afa2cc4c3d
parent314885b16e5d26d27d46a4bfb0d581b27a03b8fe (diff)
downloadopenembedded-core-contrib-891343e8ba6490ca3e1876c892269b611ddc7877.tar.gz
openembedded-core-contrib-891343e8ba6490ca3e1876c892269b611ddc7877.tar.bz2
openembedded-core-contrib-891343e8ba6490ca3e1876c892269b611ddc7877.zip
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@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/ptest.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index c19f65b9bb..9d8a79854a 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"):