scripts: tizen: call sync before umount
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 11 Jan 2018 03:51:51 +0000 (12:51 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:19:26 +0000 (11:19 +0100)
commit9ec27dd71971c5bced71ef4ac117ed0c40ea61b9
tree0058ee941ccc2341f0cd3abaeb382801d063de53
parent4fed0bd330aad0b504f99fb3ae6cca78aa7cf372
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