Skip to content

Commit

Permalink
mediatek: mt7622: don't rely on existing image for sysupgrade
Browse files Browse the repository at this point in the history
Don't reply on mapped rootfs partition but rather just take what ever
has been set to the kernel cmdline root= parameter as a hint to decide
which media to install sysupgrade to on the BananaPi BPi-R64.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  • Loading branch information
dangowrt committed Oct 19, 2022
1 parent a97991f commit d640cba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ platform_do_upgrade() {

case "$board" in
bananapi,bpi-r64)
export_bootdevice
export_partdevice rootdev 0
local rootdev="$(cmdline_get_var root)"
rootdev="${rootdev##*/}"
case "$rootdev" in
mmc*)
CI_ROOTDEV="$rootdev"
Expand Down

0 comments on commit d640cba

Please sign in to comment.