mvebu: increase compat version for SolidRun ClearFog Base
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 31 Jul 2020 09:21:34 +0000 (11:21 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 31 Jul 2020 09:40:15 +0000 (11:40 +0200)
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@adrianschmutzler.de>
target/linux/mvebu/cortexa9/base-files/etc/board.d/05_compat-version
target/linux/mvebu/image/cortexa9.mk

index dffb94de038991a9404bc09540c3d4735b148d75..9304b84e7ff27b7b796d253b1a4c380d5fc41cda 100755 (executable)
@@ -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"
                ;;
index e86675eeb9bb61f2335c1785d8b163d078e184da..245e8a2d698147de01d5e091c03f6b35be1f642f 100644 (file)
@@ -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