From: Seung-Woo Kim Date: Wed, 18 Oct 2017 05:31:06 +0000 (+0900) Subject: scripts: mkbootimg_rpi3.sh: replace waiting with sync command X-Git-Tag: submit/tizen_4.0/20171025.075611~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=795e05e37b265d5e5ae468a5424a79f12032e37e;p=platform%2Fkernel%2Flinux-rpi3.git scripts: mkbootimg_rpi3.sh: replace waiting with sync command 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 --- diff --git a/scripts/mkbootimg_rpi3.sh b/scripts/mkbootimg_rpi3.sh index 4cc2a9ca65d8..f063185bb676 100755 --- a/scripts/mkbootimg_rpi3.sh +++ b/scripts/mkbootimg_rpi3.sh @@ -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