rampis: mt7621: Edgerouter-X set compat version message
authorTim Lunn <tim@feathertop.org>
Thu, 18 Apr 2024 00:56:07 +0000 (10:56 +1000)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Nov 2024 18:46:30 +0000 (18:46 +0000)
Refer user to the wiki page for instructions on how to migrate to the
new kernel layout.

Signed-off-by: Tim Lunn <tim@feathertop.org>
Tested-by: Mauri Sandberg <maukka@ext.kapsi.fi>
Link: https://github.com/openwrt/openwrt/pull/15194
(cherry picked from commit 70c371d91cda300d7c655f019cb2076d2dd537fb)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ramips/image/mt7621.mk

index 27adb06bf7ddf23a028d4be08fcbb43c42f9f422..f4dacba8943fd37009ab8dd5f055ea5323b142e6 100644 (file)
@@ -2865,6 +2865,10 @@ define Device/ubnt_edgerouter_common
        ubnt-erx-factory-image $(KDIR)/tmp/$$(KERNEL_INITRAMFS_PREFIX)-factory.tar
   IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
   DEVICE_PACKAGES += -wpad-basic-mbedtls -uboot-envtools
+  DEVICE_COMPAT_VERSION := 2.0
+  DEVICE_COMPAT_MESSAGE :=  Partition table has been changed due to kernel size restrictions. \
+    Refer to the wiki page for instructions to migrate to the new layout: \
+    https://openwrt.org/toh/ubiquiti/edgerouter_x_er-x_ka
   DEFAULT := n
 endef