From 795e05e37b265d5e5ae468a5424a79f12032e37e Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 18 Oct 2017 14:31:06 +0900 Subject: [PATCH] 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 --- scripts/mkbootimg_rpi3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1