scripts: sd_fusing_rpi3: add the sleep before umounting
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 3 Aug 2017 07:47:23 +0000 (16:47 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 12 Oct 2022 04:31:39 +0000 (13:31 +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 040713e..19b08f4 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
 }