[openwrt/openwrt] rampis: mt7621: Edgerouter-X set compat version message

LEDE Commits lede-commits at lists.infradead.org
Fri Nov 8 04:38:05 PST 2024


ynezz pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/70c371d91cda300d7c655f019cb2076d2dd537fb

commit 70c371d91cda300d7c655f019cb2076d2dd537fb
Author: Tim Lunn <tim at feathertop.org>
AuthorDate: Thu Apr 18 10:56:07 2024 +1000

    rampis: mt7621: Edgerouter-X set compat version message
    
    Refer user to the wiki page for instructions on how to migrate to the
    new kernel layout.
    
    Signed-off-by: Tim Lunn <tim at feathertop.org>
    Tested-by: Mauri Sandberg <maukka at ext.kapsi.fi>
    Link: https://github.com/openwrt/openwrt/pull/15194
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 target/linux/ramips/image/mt7621.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 27adb06bf7..f4dacba894 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -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
 




More information about the lede-commits mailing list