ipq806x: drop useless uci-defaults compat version script
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 12 Dec 2023 00:25:01 +0000 (01:25 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 12 Dec 2023 00:28:22 +0000 (01:28 +0100)
Drop useless uci-defaults compat version script as it's not needed
anymore and should have been dropped on DSA conversion.

The script was needed for Linksys EA7500 and EA8500 for the kernel space
migration. We now handle compat version setting in board.d scripts.

Having this script with actually the wrong value (2.0) cause upgrade
problem and conflicts with board.d script.

Fixes: 337e36e0ef98 ("ipq806x: convert each device to DSA implementation")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/ipq806x/base-files/etc/uci-defaults/05_fix-compat-version [deleted file]

diff --git a/target/linux/ipq806x/base-files/etc/uci-defaults/05_fix-compat-version b/target/linux/ipq806x/base-files/etc/uci-defaults/05_fix-compat-version
deleted file mode 100644 (file)
index 3b9dd4e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-. /lib/functions.sh
-
-case "$(board_name)" in
-       linksys,ea7500-v1|\
-       linksys,ea8500)
-               uci set system.@system[0].compat_version="2.0"
-               uci commit system
-       ;;
-esac
-
-exit 0