mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 09:32:17 +02:00
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) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c0f89c609d
commit
3518cdde5b
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user