summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/kernel.py
diff options
context:
space:
mode:
authorJeffrey C Honig <jeffrey.honig@windriver.com>2012-07-16 20:48:57 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:54:07 +0100
commit4b8f43aaa6e612d3233ed87ed82b3e1229a9c17d (patch)
treeae348899d7352ecd15598d849ea29627312534b5 /scripts/lib/bsp/kernel.py
parent05e5ec2be8c0cf291956b46885bd847bb1987a3b (diff)
downloadpoky-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 'scripts/lib/bsp/kernel.py')
0 files changed, 0 insertions, 0 deletions