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:34:21 +0000 (16:34 +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>
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index eb812865db8882cb4bfaf06fb11f5ab5ed473986..2391a1de8a75382c3ae1d24e4d0aef3698724279 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|\