scripts: mkbootimg_rpi3.sh: replace waiting with sync command 23/156323/2
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 18 Oct 2017 05:31:06 +0000 (14:31 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 19 Oct 2017 04:42:30 +0000 (13:42 +0900)
The waiting with sleep command is not really required if there is
sync command before umount. Replace the waiting with sync command.

Change-Id: I97f886b9230aaafe20fc86caa2476d26c8464cde
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
scripts/mkbootimg_rpi3.sh

index 4cc2a9c..f063185 100755 (executable)
@@ -27,7 +27,7 @@ popd
 cp -a ${TMP_UBOOT_PATH}/boot/* ./tmp
 rm -rf ${TMP_UBOOT_PATH}
 
-sleep 1
+sync
 
 sudo umount tmp
 rm -rf tmp