[source] ar71xx: fix upgrade platform check for Compex WPJ558

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 9 15:14:59 PDT 2017


pepe2k pushed a commit to source.git, branch master:
https://git.lede-project.org/afcf5f69bec5da1f0cff2029cb524da8b8adaab1

commit afcf5f69bec5da1f0cff2029cb524da8b8adaab1
Author: Enrique Giraldo <enrique.giraldo at galgus.net>
AuthorDate: Thu Jul 6 15:46:42 2017 +0200

    ar71xx: fix upgrade platform check for Compex WPJ558
    
    The magic number was wrong and always marked the images as invalid.
    
    Signed-off-by: Enrique Giraldo <enrique.giraldo at galgus.net>
---
 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 bb0d9d5..cf51fe2 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -287,6 +287,7 @@ platform_check_image() {
 	wpj342|\
 	wpj344|\
 	wpj531|\
+	wpj558|\
 	wpj563|\
 	wrt400n|\
 	wrtnode2q|\
@@ -323,7 +324,6 @@ platform_check_image() {
 	hornet-ub|\
 	mr12|\
 	mr16|\
-	wpj558|\
 	zbt-we1526|\
 	zcn-1523h-2|\
 	zcn-1523h-5)



More information about the lede-commits mailing list