scripts: tizen: sd_fusing: Check requested device 74/229774/2
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 3 Apr 2020 07:58:36 +0000 (16:58 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 6 Apr 2020 01:21:07 +0000 (10:21 +0900)
commit49b4b007bd59a6aecd04626ac61c25c9cd9edd10
treeae4d36f8c2b65f3578f30f9a1d3e34f47ecf896a
parentf806dfc6841231819dc3d58cf3722c762b669bb7
scripts: tizen: sd_fusing: Check requested device

It is possible to request flashing a device which is non-existent
or unaccessible. Especially, request can flash non-removable
storage disk that user do not really intend. To skip all the case,
Check requested device.
For non removable disk, it will ask user really intended to flash
the device.

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