From 97efc8abdbd6264a19cbe6c5b95851245f6b798a Mon Sep 17 00:00:00 2001 From: "aiyion.prime" Date: Sat, 9 Jul 2022 00:11:13 +0200 Subject: [PATCH] ath79-generic: (re)add Rocket M2/M5 (XM) Gone due to commit 45c84a117bf8 ("ar71xx: drop target") --- docs/user/supported_devices.rst | 1 + package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua | 1 + targets/ath79-generic | 8 ++++++++ 3 files changed, 10 insertions(+) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 8fe3f22f..c3740c7a 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -116,6 +116,7 @@ ath79-generic - NanoBeam M5 (XW) - NanoStation Loco M2/M5 (XW) - NanoStation M2/M5 (XW) + - Rocket M2/M5 (XM) - UniFi AC Lite - UniFi AC LR - UniFi AC Mesh diff --git a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua index 1d7de7c3..fb653e6d 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua @@ -42,6 +42,7 @@ function M.is_outdoor_device() 'ubnt,nanobeam-m5-xw', 'ubnt,nanostation-loco-m-xw', 'ubnt,nanostation-m-xw', + 'ubnt,rocket-m', 'ubnt,unifi-ap-outdoor-plus', 'ubnt,unifiac-mesh', 'ubnt,unifiac-mesh-pro', diff --git a/targets/ath79-generic b/targets/ath79-generic index 74eda3e8..3dbdf264 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -467,6 +467,14 @@ device('ubiquiti-nanostation-m-xw', 'ubnt_nanostation-m-xw', { }, }) +device('ubiquiti-rocket-m-xm', 'ubnt_rocket-m', { + manifest_aliases = { + 'ubiquiti-rocket-m', -- upgrade from OpenWrt 19.07 + 'ubiquiti-rocket-m2', -- upgrade from OpenWrt 19.07 + 'ubiquiti-rocket-m5', -- upgrade from OpenWrt 19.07 + }, +}) + device('ubiquiti-unifi-ac-lite', 'ubnt_unifiac-lite', { factory = false, packages = ATH10K_PACKAGES_QCA9880,