mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +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) (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>
This commit is contained in:
committed by
Richard Purdie
parent
c90a56ed6d
commit
1dc65214c8
@@ -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