[OpenWrt-Devel,19.07] ath79: fix SUPPORTED_DEVICES for ubnt_nanostation-m
diff mbox series

Message ID 20191021141701.16447-1-freifunk@adrianschmutzler.de
State Accepted
Delegated to: John Crispin
Headers show
  • [OpenWrt-Devel,19.07] ath79: fix SUPPORTED_DEVICES for ubnt_nanostation-m
Related show

Commit Message

Adrian Schmutzler Oct. 21, 2019, 2:17 p.m. UTC
The ar71xx images for the Ubiquiti NanoStation M (XM) devices use
"nanostation-m" as board name, but the ath79 images are only
compatible with the "nano-m" board name, so sysupgrade complains.

By changing this additional supported device, sysupgrade smoothly
upgrades from ar71xx to ath79.

Ref: openwrt#2418

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit f473ce6f231bb9f8913be50e850c771b3463fa14)
 target/linux/ath79/image/generic-ubnt.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

diff --git a/target/linux/ath79/image/generic-ubnt.mk b/target/linux/ath79/image/generic-ubnt.mk
index 97a479a14a..c51d743a35 100644
--- a/target/linux/ath79/image/generic-ubnt.mk
+++ b/target/linux/ath79/image/generic-ubnt.mk
@@ -109,7 +109,7 @@  TARGET_DEVICES += ubnt_rocket-m
 define Device/ubnt_nanostation-m
   DEVICE_TITLE := Ubiquiti Nanostation M
+  SUPPORTED_DEVICES += nanostation-m
 TARGET_DEVICES += ubnt_nanostation-m