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 16:19:12 +0000 (18:19 +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 8558fde3fef9738220a1598a3e4135836c8279f4..1ac0613c7bc4cf189cfafc306bd66e1aa434d9ad 100755 (executable)
@@ -216,6 +216,7 @@ platform_check_image() {
        archer-c60-v2|\
        archer-c7-v4|\
        archer-c7-v5|\
+       arduino-yun|\
        bullet-m|\
        c-55|\
        carambola2|\
@@ -343,7 +344,6 @@ platform_check_image() {
        ap152|\
        ap91-5g|\
        ap96|\
-       arduino-yun|\
        bhr-4grv2|\
        bxu2000n-2-a1|\
        db120|\