scripts: tizen: sd_fusing_rpi3: update the rpi3 script 16/265316/1 accepted/tizen/unified/20211028.122205 submit/tizen/20211027.220247
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 14 Oct 2021 23:11:37 +0000 (08:11 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 14 Oct 2021 23:17:19 +0000 (08:17 +0900)
commit2ce4f25ba06d0c43890657adbb8956491421549d
treef4db7acdc73132895194caccf970f2c9792d36ad
parentc70c8be484907f9e200aae53fd02219e45b5d84c
scripts: tizen: sd_fusing_rpi3: update the rpi3 script

To prevent wrong operation, check the result whether format is succeed
or not. If it's failed, exit this script.
And if there is already "mnt_tmp" directory, remove it to clear the
previous status.

It's changed the location to remove a partition table with dd command
with count is changed  from 16 to 32.
Because  it seems that partition table doesn't clear.

Change-Id: Id3eb739d5add8784d0f41eca8a7e4360a8a0dbfd
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
scripts/tizen/sd_fusing_rpi3.sh