mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-23 21:08:23 +00:00
apm821xx: fixes WNDAP620 + WNDAP660 sysupgrade failures
OpenWRT on the WNDAP6x0 refuses to sysupgrade to itself due to a compat_version imbalance. The Image is generated with version 2.0, but the uci-defaults says that it needs to be at 3.0 for the device. Fix this by downgrading WNDAP6x0 05_fix-compat-version's values back to 2.0 so it matches what we use. Fixes:5815884c3a
("apm821xx: migrate to DSA") Signed-off-by: Christian Lamparter <chunkeey@gmail.com> (cherry picked from commite9415be4ad
)
This commit is contained in:
parent
3b4a84d05f
commit
93bcec7b6c
@ -2,12 +2,15 @@
|
||||
|
||||
case "$(board_name)" in
|
||||
meraki,mx60|\
|
||||
netgear,wndap620|\
|
||||
netgear,wndap660|\
|
||||
netgear,wndr4700)
|
||||
uci set system.@system[0].compat_version="3.0"
|
||||
uci commit system
|
||||
;;
|
||||
netgear,wndap620|\
|
||||
netgear,wndap660)
|
||||
uci set system.@system[0].compat_version="2.0"
|
||||
uci commit system
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user