From 177ff68ccfdd144a99ae0a78f4d4cc7d63c0da93 Mon Sep 17 00:00:00 2001 From: David Bauer <mail@david-bauer.net> Date: Tue, 6 Oct 2020 19:16:56 +0200 Subject: [PATCH] ar71xx-generic: only create manifest alias for Rocket M5 (#2127) * ar71xx-generic: only create manifest alias for Rocket M5 This follow up the discussion done in #2070 by not creating a symlink for the Rocket M5. Images for the Rocket M2 can still be flashed on a Rocket M5. This change will prevent the Rocket M5 from appearing in Firmware selectors. Existing devices will still receive updates, as the device name is still referenced for the device name expected by the M5. Closes #2070 * docs: remove Rocket M5 from supported devices --- docs/user/supported_devices.rst | 6 +++--- targets/ar71xx-generic | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 25c99b2be..f9c2f4c33 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -108,9 +108,9 @@ ar71xx-generic - Nanostation M2/M5 [#device-class-tiny]_ - Nanostation M2/M5 XW - Picostation M2 [#device-class-tiny]_ - - Rocket M2/M5 - - Rocket M2/M5 Ti - - Rocket M2/M5 XW + - Rocket M2 + - Rocket M2 Ti + - Rocket M2 XW - UniFi AC Mesh - UniFi AC Mesh Pro - UniFi AP diff --git a/targets/ar71xx-generic b/targets/ar71xx-generic index 140a786ed..df7dbd978 100644 --- a/targets/ar71xx-generic +++ b/targets/ar71xx-generic @@ -427,10 +427,8 @@ device('ubiquiti-bullet-m', 'ubnt-bullet-m', { }) device('ubiquiti-rocket-m', 'ubnt-rocket-m', { - aliases = { - 'ubiquiti-rocket-m2', - 'ubiquiti-rocket-m5', - }, + aliases = {'ubiquiti-rocket-m2'}, + manifest_aliases = {'ubiquiti-rocket-m5'}, }) device('ubiquiti-nanostation-m', 'ubnt-nano-m', { -- GitLab