From c0d1a779dc0a9610fd385a289709cbadf80c6122 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Thu, 3 Aug 2017 16:47:23 +0900 Subject: [PATCH] scripts: sd_fusing_rpi3: add the sleep before umounting When umounting "mnt_tmp", it's appeared "device is busy". To ensure the unmounting, add the "sleep 1" before unmounting. Change-Id: Ibab0700f7ef112591576b53c5706b8f850821742 Signed-off-by: Jaehoon Chung --- scripts/tizen/sd_fusing_rpi3.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/tizen/sd_fusing_rpi3.sh b/scripts/tizen/sd_fusing_rpi3.sh index 040713e..19b08f4 100755 --- a/scripts/tizen/sd_fusing_rpi3.sh +++ b/scripts/tizen/sd_fusing_rpi3.sh @@ -230,6 +230,7 @@ function mkpart_3 () { mkdir mnt_tmp mount -t ext4 ${DISK}9 ./mnt_tmp touch ./mnt_tmp/reboot-param.bin + sleep 1 umount ./mnt_tmp rmdir mnt_tmp } -- 2.7.4