[openwrt/openwrt] ar71xx: fix sysupgrade for Arduino Yun

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 2 10:36:54 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch openwrt-19.07:
https://git.openwrt.org/f17174e8436dc7026ad9429a4e82b3d3e42179f7

commit f17174e8436dc7026ad9429a4e82b3d3e42179f7
Author: Sungbo Eo <mans0n at gorani.run>
AuthorDate: Sun Jan 12 21:35:00 2020 +0900

    ar71xx: fix sysupgrade for Arduino Yun
    
    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 at gorani.run>
    (cherry picked from commit 58dc1d0637425cfe023192466e6212009332b677)
---
 target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index e33b74a64e..f44cdb061f 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -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|\



More information about the lede-commits mailing list