From: Piotr Dymacz Date: Wed, 5 Jul 2017 07:07:43 +0000 (+0200) Subject: ar71xx: verify TP-Link TL-WR902AC sysupgrade image X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=42c8bbb69b8563896422180b379a4642419e5dfc;p=openwrt%2Fstaging%2Fansuel.git ar71xx: verify TP-Link TL-WR902AC sysupgrade image Until we enable requirement for metadata in sysupgrade images under ar71xx target, this prevents users from using wrong image. Signed-off-by: Piotr Dymacz --- diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 88e8e92a0d..bb0d9d5ea9 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -447,6 +447,7 @@ platform_check_image() { tl-wr841n-v9|\ tl-wr842n-v2|\ tl-wr842n-v3|\ + tl-wr902ac-v1|\ tl-wr941nd-v5|\ tl-wr941nd-v6|\ tl-wr940n-v4|\ @@ -657,8 +658,7 @@ platform_check_image() { rb-952ui-5ac2nd|\ rb-962uigs-5hact2hnt|\ rb-lhg-5nd|\ - rb-mapl-2nd|\ - tl-wr902ac-v1) + rb-mapl-2nd) return 0 ;; esac