scripts: tizen: call sync before umount
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 11 Jan 2018 03:51:51 +0000 (12:51 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 20 Oct 2020 01:39:02 +0000 (10:39 +0900)
commit5504b220b3962bacd73ebc3512539680758a0e05
treec18e122f6384448c60b28f02c896e8a4e95e1076
parent035e07ee2fc5549bc8b43d27870a91ac9cec402c
scripts: tizen: call sync before umount

After writing files on mounted directory, umount can fail with busy
state. Call sync before umount to clear the busy state instead of
sleep.

Change-Id: I7985ab3688a64b072c9a992957acdf124f925a34
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
scripts/tizen/sd_fusing_rpi3.sh
scripts/tizen/sd_fusing_xu4.sh