diff options
author | Jeffrey C Honig <jeffrey.honig@windriver.com> | 2012-07-16 20:48:57 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-17 10:54:07 +0100 |
commit | 4b8f43aaa6e612d3233ed87ed82b3e1229a9c17d (patch) | |
tree | ae348899d7352ecd15598d849ea29627312534b5 /meta/conf | |
parent | 05e5ec2be8c0cf291956b46885bd847bb1987a3b (diff) | |
download | poky-4b8f43aaa6e612d3233ed87ed82b3e1229a9c17d.tar.gz |
bitbake: siggen.py: Insure .siginfo files writes into shared sstate cache are atomic
Use tempfile.mkstemp to create a temporary file in the sstate dir and move it
into place after closing. The previous code would fail in the chmod() if two
users were running jobs that touched the same signature file.
(Bitbake rev: ff11e9ac5eba2d957917664a7b91b1277d8ad548)
Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
0 files changed, 0 insertions, 0 deletions