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

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 2 12:20:15 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch openwrt-18.06:
https://git.openwrt.org/dd79314de4761a4af9b49d8b5e95051272ab9b13

commit dd79314de4761a4af9b49d8b5e95051272ab9b13
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 8558fde3fe..1ac0613c7b 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -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|\



More information about the lede-commits mailing list