[openwrt/openwrt] mvebu: increase compat version for SolidRun ClearFog Base
LEDE Commits
lede-commits at lists.infradead.org
Fri Jul 31 05:41:00 EDT 2020
adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/e496eefccca90c0b244434a11393f6f86fd9194a
commit e496eefccca90c0b244434a11393f6f86fd9194a
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Fri Jul 31 11:21:34 2020 +0200
mvebu: increase compat version for SolidRun ClearFog Base
When changing the Pro variant to DSA, the ethernet interface rename
script was dropped by all devices to keep them in sync:
be309bfd7445 ("mvebu: drop 06_set_iface_mac preinit script")
Therefore, network config will be broken after upgrade for the
Base variant as well. Increase the compat version and provide a
message to signal that to the users.
Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
target/linux/mvebu/cortexa9/base-files/etc/board.d/05_compat-version | 1 +
target/linux/mvebu/image/cortexa9.mk | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/target/linux/mvebu/cortexa9/base-files/etc/board.d/05_compat-version b/target/linux/mvebu/cortexa9/base-files/etc/board.d/05_compat-version
index dffb94de03..9304b84e7f 100755
--- a/target/linux/mvebu/cortexa9/base-files/etc/board.d/05_compat-version
+++ b/target/linux/mvebu/cortexa9/base-files/etc/board.d/05_compat-version
@@ -15,6 +15,7 @@ case "$(board_name)" in
linksys,wrt1900acs|\
linksys,wrt3200acm|\
linksys,wrt32x|\
+ solidrun,clearfog-base-a1|\
solidrun,clearfog-pro-a1)
ucidef_set_compat_version "1.1"
;;
diff --git a/target/linux/mvebu/image/cortexa9.mk b/target/linux/mvebu/image/cortexa9.mk
index e86675eeb9..245e8a2d69 100644
--- a/target/linux/mvebu/image/cortexa9.mk
+++ b/target/linux/mvebu/image/cortexa9.mk
@@ -244,9 +244,11 @@ define Device/solidrun_clearfog-base-a1
IMAGES := sdcard.img.gz
IMAGE/sdcard.img.gz := boot-scr | boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
DEVICE_DTS := armada-388-clearfog-base armada-388-clearfog-pro
- SUPPORTED_DEVICES += armada-388-clearfog-base
UBOOT := clearfog-u-boot-spl.kwb
BOOT_SCRIPT := clearfog
+ SUPPORTED_DEVICES += armada-388-clearfog-base
+ DEVICE_COMPAT_VERSION := 1.1
+ DEVICE_COMPAT_MESSAGE := Ethernet interface rename has been dropped
endef
TARGET_DEVICES += solidrun_clearfog-base-a1
More information about the lede-commits
mailing list