Hi Petr,

On 20.01.2020 20:40, Petr Štetiar wrote:
Currently it's not possible to downgrade from master:

  Device ubiquiti,edgerouterx not supported by this image
  Supported devices: ubnt-erx

So fix it by adding a DTS based device name from master into
SUPPORTED_DEVICES list.

Signed-off-by: Petr Štetiar <yn...@true.cz>
---
  target/linux/ramips/image/mt7621.mk | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/target/linux/ramips/image/mt7621.mk 
b/target/linux/ramips/image/mt7621.mk
index 53a264f527a6..a8999974731a 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -483,6 +483,7 @@ define Device/ubnt-erx
    KERNEL_INITRAMFS := $$(KERNEL) | ubnt-erx-factory-image 
$(KDIR)/tmp/$$(KERNEL_INITRAMFS_PREFIX)-factory.tar
    IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
    DEVICE_TITLE := Ubiquiti EdgeRouter X
+  SUPPORTED_DEVICES += ubiquiti_edgerouterx

Shouldn't that be: 'ubiquiti,edgerouterx' (',' vs. '_')?

--
Cheers,
Piotr

  endef
  TARGET_DEVICES += ubnt-erx
@@ -491,6 +492,7 @@ define Device/ubnt-erx-sfp
    DTS := UBNT-ERX-SFP
    DEVICE_TITLE := Ubiquiti EdgeRouter X-SFP
    DEVICE_PACKAGES += kmod-i2c-algo-pca kmod-gpio-pca953x kmod-i2c-gpio-custom
+  SUPPORTED_DEVICES += ubiquiti_edgerouterx-sfp
  endef
  TARGET_DEVICES += ubnt-erx-sfp
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to