Upgrade firmware when manual packages are installed

Hi,

I currently have an extra package installed manually (adblock-simple), will I lose it if I upgrade the firmware to a newer version?

Thanks,
Marco

yes. every official image (i.e. factory or sysupgrade) includes a predefined list of base packages and during upgrade router is going to be overwritten fully (config files can be kept though). you'll need to do opkg update&install as usual.

unless you use https://asu.aparcar.org/ and add your package to customization list, and use this customized image to upgrade with. in this case the image will include your custom package as well from first boot, no need for opkg.

Another option is to compile your own firmware with the packages you use.