diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-22 22:47:24 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-23 12:29:56 +0000 |
commit | 8dbbbffa11a4251f6868f85f308465670b9655dd (patch) | |
tree | 9a6bf622ead1690d8481c75739250c8a776c6781 /meta/classes/cml1.bbclass | |
parent | 8350c03eeca3f5d70984797ef784f29c71cbbb3b (diff) | |
download | poky-8dbbbffa11a4251f6868f85f308465670b9655dd.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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cml1.bbclass')
0 files changed, 0 insertions, 0 deletions