mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
mediatek: mt7622: fix sysupgrade on MMC on BPi-R64
A previous attempt to simplify things went wrong and now sysupgrade is broken on this device. Fix that. Fixes: d640cbac0e ("mediatek: mt7622: don't rely on existing image for sysupgrade") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
9c56a0617d
commit
55780024d3
@ -8,6 +8,7 @@ platform_do_upgrade() {
|
|||||||
bananapi,bpi-r64)
|
bananapi,bpi-r64)
|
||||||
local rootdev="$(cmdline_get_var root)"
|
local rootdev="$(cmdline_get_var root)"
|
||||||
rootdev="${rootdev##*/}"
|
rootdev="${rootdev##*/}"
|
||||||
|
rootdev="${rootdev%p[0-9]*}"
|
||||||
case "$rootdev" in
|
case "$rootdev" in
|
||||||
mmc*)
|
mmc*)
|
||||||
CI_ROOTDEV="$rootdev"
|
CI_ROOTDEV="$rootdev"
|
||||||
|
Loading…
Reference in New Issue
Block a user