OpenWrt 21.02 status

Alberto Bursi bobafetthotmail at gmail.com
Mon Jul 19 12:43:24 PDT 2021



On 19/07/21 21:11, Luiz Angelo Daros de Luca wrote:
> 
> This is not a migration script but a mitigation. A 21.02 image should
> detect during boot if the current network config was for swconfig in a
> system using DSA.
> It could happen during early boot stages, after FS are mounted, before
> services are started, something similar to uci-defaults, but not in a
> "run once" way.
> It would cover both upgrades with confs and restores. We are asking
> the user to upgrade without saving confs but nothing will prevent them
> from keeping settings while
> using "sysupgrade -F" nor restoring an 19.07 backup "manually" into a
> 21.02. I think an expert dev could solve this one with a 5 line script
> ;-)
> 

It's a 5 line script if you are migrating default switch config to new 
default switch config and assuming the user did not touch much.

With smart switch you could do some pretty elaborate setups and making a 
script that can actually migrate more than very basic configs is not 
easy at all.

-Alberto



More information about the openwrt-devel mailing list