projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mediatek: mt7622: fix sysupgrade on MMC on BPi-R64
[openwrt/openwrt.git]
/
target
/
linux
/
mediatek
/
mt7622
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
b/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
index e62eba7ef17f6a452d0e9bb235bd90d40585fe68..d3d503dd1eff4e9b2b9f36277986fbce9209242c 100755
(executable)
--- a/
target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
@@
-8,6
+8,7
@@
platform_do_upgrade() {
bananapi,bpi-r64)
local rootdev="$(cmdline_get_var root)"
rootdev="${rootdev##*/}"
+ rootdev="${rootdev%p[0-9]*}"
case "$rootdev" in
mmc*)
CI_ROOTDEV="$rootdev"