treewide: revert sysupgrade adjustments for early DSA-adopters
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:a9703db720("mvebu: fix sysupgrade experience for early DSA-adopters")86c89bf5e8("kirkwood: fix sysupgrade experience for early DSA-adopters") Partially reverted:1eac573b53("ramips: mt7621: implement compatibility version for DSA migration") Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
		| @@ -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 |  | ||||||
| @@ -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 |  | ||||||
| @@ -1,8 +0,0 @@ | |||||||
| # |  | ||||||
| # Copyright (C) 2020 OpenWrt.org |  | ||||||
| # |  | ||||||
|  |  | ||||||
| uci set system.@system[0].compat_version="1.1" |  | ||||||
| uci commit system |  | ||||||
|  |  | ||||||
| exit 0 |  | ||||||
		Reference in New Issue
	
	Block a user
	 Adrian Schmutzler
					Adrian Schmutzler