treewide: revert sysupgrade adjustments for early DSA-adopters
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 8 Aug 2020 19:33:25 +0000 (21:33 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 8 Sep 2020 17:27:15 +0000 (19:27 +0200)
The uci-default mechanism to update the compat-version was only
meant for early DSA-adopters, which should have updated by now.

Remove this workaround again in order to prevent the intended
experiences for all the other people.

This reverts:
a9703db72030 ("mvebu: fix sysupgrade experience for early DSA-adopters")
86c89bf5e8f5 ("kirkwood: fix sysupgrade experience for early DSA-adopters")

Partially reverted:
1eac573b5304 ("ramips: mt7621: implement compatibility version for DSA migration")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/kirkwood/base-files/etc/uci-defaults/05_fix-compat-version [deleted file]
target/linux/mvebu/cortexa9/base-files/etc/uci-defaults/05_fix-compat-version [deleted file]
target/linux/ramips/mt7621/base-files/etc/uci-defaults/05_fix-compat-version [deleted file]

diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/05_fix-compat-version b/target/linux/kirkwood/base-files/etc/uci-defaults/05_fix-compat-version
deleted file mode 100644 (file)
index d7f8488..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright (C) 2020 OpenWrt.org
-#
-
-. /lib/functions.sh
-
-case "$(board_name)" in
-       linksys,e4200-v2|\
-       linksys,ea3500|\
-       linksys,ea4500)
-               uci set system.@system[0].compat_version="1.1"
-               uci commit system
-               ;;
-esac
-
-exit 0
diff --git a/target/linux/mvebu/cortexa9/base-files/etc/uci-defaults/05_fix-compat-version b/target/linux/mvebu/cortexa9/base-files/etc/uci-defaults/05_fix-compat-version
deleted file mode 100644 (file)
index 5965fdc..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#
-# Copyright (C) 2020 OpenWrt.org
-#
-
-. /lib/functions.sh
-
-case "$(board_name)" in
-       linksys,wrt1200ac|\
-       linksys,wrt1900ac-v1|\
-       linksys,wrt1900ac-v2|\
-       linksys,wrt1900acs|\
-       linksys,wrt3200acm|\
-       linksys,wrt32x|\
-       solidrun,clearfog-base-a1|\
-       solidrun,clearfog-pro-a1)
-               uci set system.@system[0].compat_version="1.1"
-               uci commit system
-               ;;
-esac
-
-exit 0
diff --git a/target/linux/ramips/mt7621/base-files/etc/uci-defaults/05_fix-compat-version b/target/linux/ramips/mt7621/base-files/etc/uci-defaults/05_fix-compat-version
deleted file mode 100644 (file)
index 09cce18..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-# Copyright (C) 2020 OpenWrt.org
-#
-
-uci set system.@system[0].compat_version="1.1"
-uci commit system
-
-exit 0