diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-22 22:47:24 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-31 21:11:46 +0100 |
commit | 67334bfb26d47ebc94c59ea5548681ddfc262250 (patch) | |
tree | 722af21a1d764bd81dca3189bffba78311e77d15 /meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb | |
parent | 36e13dd42f76cfa8bf4465600fe816998147d39e (diff) | |
download | poky-67334bfb26d47ebc94c59ea5548681ddfc262250.tar.gz |
sstate.bbclass: Remove possibility of file corruption and make package writing atomic
There is currently a race window when creating sstate packages since we don't
atomically write the files to SSTATE_DIR. This change ensures we do so by writing
to a temporary file and then doing an atomic move.
(From OE-Core rev: 52bf113e786a57123a9da98f64442afbc2f1471e)
(From OE-Core rev: d527f68bdf167b4a3dcc035968da59677abb70bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb')
0 files changed, 0 insertions, 0 deletions