projects
/
platform
/
core
/
system
/
tota-ua.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0756f19
)
Add '-l' option to blkid for optimization
65/276165/2
author
SangYoun Kwak
<sy.kwak@samsung.com>
Fri, 10 Jun 2022 08:23:33 +0000
(17:23 +0900)
committer
Hyotaek Shim
<hyotaek.shim@samsung.com>
Fri, 10 Jun 2022 08:34:51 +0000
(08:34 +0000)
Change-Id: I8183808210a9fca55e8c754e91da1a986ff27dae
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
scripts/upgrade-legacy.sh
patch
|
blob
|
history
diff --git
a/scripts/upgrade-legacy.sh
b/scripts/upgrade-legacy.sh
index
73fc85d
..
5447ed1
100644
(file)
--- a/
scripts/upgrade-legacy.sh
+++ b/
scripts/upgrade-legacy.sh
@@
-57,7
+57,7
@@
flash_pre_image() {
{ read -r NUM REST; echo "$NUM"; })"
fi
if [ "$DEV_NUM" == "" ]; then
- DEV_NUM=$(/sbin/blkid -L "$PART_NAME" -o device | sed "\|$EMMC_DEVICE|!d" | \
+ DEV_NUM=$(/sbin/blkid -L "$PART_NAME" -o device
-l
| sed "\|$EMMC_DEVICE|!d" | \
sed 's/\/dev\/mmcblk0p//')
fi
if [ "$DEV_NUM" != "" ]; then