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

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


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/58dc1d0637425cfe023192466e6212009332b677

commit 58dc1d0637425cfe023192466e6212009332b677
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>
---
 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 eb812865db..2391a1de8a 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