]> code.ossystems Code Review - meta-freescale.git/commit
image_types_fsl.bbclass: use dd's option fsync instead of sync
authorStefan Christ <s.christ@phytec.de>
Tue, 5 May 2015 08:40:08 +0000 (10:40 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 11 May 2015 13:20:01 +0000 (10:20 -0300)
commita110c9815603eb6c35b36c92e9229016960badf5
tree9c74c21f9b4fa6432a161d16c04aaabf5314026e
parent4e8b7151e65458238f41bd6b786507d2e4ff4157
image_types_fsl.bbclass: use dd's option fsync instead of sync

The shell command sync flushes all filesystem buffers in the system.  On
a bigger multiuser system there are multiple gigs of data sometimes in
the buffer which then are written out to disk at once.  It's better to
only flush the specific file with dd's option 'fsync'.

Change-Id: I6476444dbbc28e4f8756066e531734ef1de71fdb
Signed-off-by: Stefan Christ <s.christ@phytec.de>
Tested-by: Nikolay Dimitrov <picmaster@mail.bg>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/classes/image_types_fsl.bbclass