Przeglądaj źródła

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 <[email protected]>
Adrian Schmutzler 5 lat temu
rodzic
commit
e496eefccc

+ 1 - 0
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"
 		;;

+ 3 - 1
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