[bitbake-devel] [PATCH] siggen.py: Insure .siginfo files writes into shared sstate cache are atomic
Richard Purdie
richard.purdie at linuxfoundation.org
Tue Jul 17 09:53:15 UTC 2012
On Mon, 2012-07-16 at 20:48 -0400, Jeffrey C Honig wrote:
> 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.
>
> Signed-off-by: Jeffrey C Honig <jeffrey.honig at windriver.com>
> ---
> lib/bb/siggen.py | 19 +++++++++++++++----
> 1 files changed, 15 insertions(+), 4 deletions(-)
Merged to master, thanks.
Richard
More information about the bitbake-devel
mailing list