projects
/
platform
/
core
/
system
/
system-recovery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
355cc74
)
Consider USB storage without partition table
26/240826/1
submit/tizen/20200812.005037
author
Kichan Kwon
<k_c.kwon@samsung.com>
Wed, 12 Aug 2020 00:46:38 +0000
(09:46 +0900)
committer
Kichan Kwon
<k_c.kwon@samsung.com>
Wed, 12 Aug 2020 00:46:38 +0000
(09:46 +0900)
- Somebody can format USB storage without partition table
- In this case, recovery image is stored in /dev/sdX
Change-Id: Ifb3d1f5924d22936433239144d5fd05ae32b3b9d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
scripts/recovery-init.in
patch
|
blob
|
history
diff --git
a/scripts/recovery-init.in
b/scripts/recovery-init.in
index
d71cdd3
..
613f0b0
100644
(file)
--- a/
scripts/recovery-init.in
+++ b/
scripts/recovery-init.in
@@
-41,7
+41,7
@@
mount_usb_partitions() {
do
for ((i=0; i<10; i++))
do
- DEVICE=$("$BLKID" /dev/sd
??
-t TYPE="${DEVICE_TYPE}" -o device)
+ DEVICE=$("$BLKID" /dev/sd
*
-t TYPE="${DEVICE_TYPE}" -o device)
if [ ! -z "${DEVICE}" ]
then
break