On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton <[email protected]> wrote:
> From: Richard Tollerton <[email protected]>
>
> 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.
>
> Natinst-Rally-ID: TA44427
> Acked-by: Gratian Crisan <[email protected]>
> Natinst-ReviewBoard-ID: 58620
> Signed-off-by: Richard Tollerton <[email protected]>


Acked-by: Otavio Salvador <[email protected]>

As an improvement, this could be written in tmpfs so it avoid
duplicated writting. For NAND devices without much free space this
might matter.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to