diff options
author | Douglas Royds <douglas.royds@taitradio.com> | 2018-11-22 18:39:42 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-08 20:14:42 +0000 |
commit | 1dc65214c82e8ad2bfb4f22906f943fd474c71a1 (patch) | |
tree | 863ed35475580b8e870596fff001d1f5c99e9059 /meta/classes | |
parent | c90a56ed6d427396cc65f163d2f1559794fe6336 (diff) | |
download | poky-1dc65214c82e8ad2bfb4f22906f943fd474c71a1.tar.gz |
ptest: Reproducibility: Take control of umask
The build host umask was leaking into the thing-ptest packages
at do_install_ptest() time.
(From OE-Core rev: 891343e8ba6490ca3e1876c892269b611ddc7877)
(From OE-Core rev: 6cbc54790d9a0784fb0df4772aa38392ddea682b)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/ptest.bbclass | 1 |
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 | |||
59 | python () { | 59 | python () { |
60 | if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d): | 60 | if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d): |
61 | d.setVarFlag('do_install_ptest_base', 'fakeroot', '1') | 61 | d.setVarFlag('do_install_ptest_base', 'fakeroot', '1') |
62 | d.setVarFlag('do_install_ptest_base', 'umask', '022') | ||
62 | 63 | ||
63 | # Remove all '*ptest_base' tasks when ptest is not enabled | 64 | # Remove all '*ptest_base' tasks when ptest is not enabled |
64 | if not(d.getVar('PTEST_ENABLED') == "1"): | 65 | if not(d.getVar('PTEST_ENABLED') == "1"): |