On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton <ben.shel...@ni.com> wrote: > From: Richard Tollerton <rich.toller...@ni.com> > > 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 <gratian.cri...@ni.com> > Natinst-ReviewBoard-ID: 58620 > Signed-off-by: Richard Tollerton <rich.toller...@ni.com>
Acked-by: Otavio Salvador <ota...@ossystems.com.br> 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 Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core