From cffe50f6a618a1d6b944c6fe0494919ff139cf1f Mon Sep 17 00:00:00 2001 From: David Bauer Date: Tue, 6 Oct 2020 15:40:14 +0200 Subject: [PATCH] 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 --- targets/ar71xx-generic | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/targets/ar71xx-generic b/targets/ar71xx-generic index 140a786e..df7dbd97 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', {