diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-05 22:14:26 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-06 08:29:02 +0000 |
commit | c6e151ba7fe0f14044537cf0ab2cac436f1496e3 (patch) | |
tree | 0e513fdefb3a22a7c7e68a39fb3cdfe6be58d15e /scripts/crosstap | |
parent | 11d4fd16c3d7dad5d7e3b4d44a96724075be7126 (diff) | |
download | openembedded-core-contrib-c6e151ba7fe0f14044537cf0ab2cac436f1496e3.tar.gz |
archiver/package_rpm: Fix the worst src.rpm generation race
The package_rpm code is writing outside the task's sstate directory into
the sstate of do_deploy_archives. This is "out of spec" since if the
task is installed from sstate, the files are not restored. This means
the files may appear/disappear, things are not deterministic and there are
races.
Extend the do_package_write_rpm code to handle writing the src.rpm into
place to avoid these issues. There are other problems but this avoids races
around this file.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/crosstap')
0 files changed, 0 insertions, 0 deletions