Hi!
I'm looking to upgrade an OpenWRT installation on a D-Link router - D-Link DIR-860L B1 from the actual 15.05.1 to the latest 18.06.0. Just to be sure I won't fail, I'm considering doing the upgrade by using LEDE as an intermediary step: 15.05.1 --> 17.01.5 -->18.06.0
The actual OpenWRT 15.05.1 setup contains custom configuration, some done through LuCI, some manual, a firewall custom script, and a few files that I created by folowing the OpenWRT guides:
/usr/bin/set_gpio
/etc/hotplug.d/iface/99-led
Then there are some additional packages installed - copy-paste from my changelog:
opkg update
opkg install ip
opkg install tcpdump
opkg install mc
opkg install libpthread
opkg install htop
opkg install lsof
opkg install openvpn-openssl openvpn-easy-rsa
opkg install luci-app-openvpn
And finally, there are some openvpn keys I generated and copied around where they belong, basically in /etc/easy-rsa/keys/ & /etc/openvpn
As the subject says, I'm looking for the correct way to upgrade OpenWRT and keep all the work & setting I've done plus the additional packages I need.
Will the following work? / Is it the proper way of doing it?
15.05.1 - backup configuration and reset it to default, uninstall all additional packages
upgrade --> 17.01.5
upgrade --> 18.06.0 - restore the 15.05.1 configuration and reinstall additional packages
Thanks in advance for any useful inputs!