ar71xx: fix sysupgrade for Arduino Yun
authorSungbo Eo <mans0n@gorani.run>
Sun, 12 Jan 2020 12:35:00 +0000 (21:35 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 2 Aug 2020 14:36:07 +0000 (16:36 +0200)
Commit bb46b635df48 changed its partition scheme, but sysupgrade image
validation still uses the old format. This commit fixes it so that
force flag is not needed for sysupgrade.

Fixes: bb46b635df48 ("ar71xx: move Arduino Yun to generic building code")
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
(cherry picked from commit 58dc1d0637425cfe023192466e6212009332b677)

target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index e33b74a64e2346a46e6ff2a38e95c26ff9739b14..f44cdb061f749ce9a4066fdcf6429670af1b8214 100755 (executable)
@@ -217,6 +217,7 @@ platform_check_image() {
        archer-c60-v2|\
        archer-c7-v4|\
        archer-c7-v5|\
+       arduino-yun|\
        bullet-m|\
        bullet-m-xw|\
        c-55|\
@@ -346,7 +347,6 @@ platform_check_image() {
        ap152|\
        ap91-5g|\
        ap96|\
-       arduino-yun|\
        bhr-4grv2|\
        bxu2000n-2-a1|\
        db120|\