diff options
author | Richard Tollerton <rich.tollerton@ni.com> | 2014-08-22 16:30:47 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-23 23:01:58 +0100 |
commit | bd7fb7c3ca50b3eea2d173487f24b3006470f6df (patch) | |
tree | 242a0eece02bb6029e2011c014a33735c463670b /scripts/runqemu-addptable2image | |
parent | 8d59fca331c982d9de35eed5ad6a86ade45531c4 (diff) | |
download | poky-bd7fb7c3ca50b3eea2d173487f24b3006470f6df.tar.gz |
udev-cache: Update cache tarball atomically
Overwriting the tarball in-place could cause a partial write, if the
system stops at an inopportune time. This is mitigated by first writing
to a temporary file, then moving that file on top of the final location.
(From OE-Core rev: 5dbf43fe32a1cf259f9379a7d2c008260eabf3ac)
Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Acked-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-addptable2image')
0 files changed, 0 insertions, 0 deletions