scripts: sd_fusing_rpi3: add the sleep before umounting 70/142270/1
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 3 Aug 2017 07:47:23 +0000 (16:47 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 3 Aug 2017 07:47:23 +0000 (16:47 +0900)
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 <jh80.chung@samsung.com>
scripts/tizen/sd_fusing_rpi3.sh

index 040713e35213fc91533cb9879a4b83d029015e35..19b08f4acd6a56e1791a84852eff516aec04fb5b 100755 (executable)
@@ -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
 }