You may have encountered a bug that openwrt sysupgrade is reinstalling packages. It turns out that there are several ways to solve this problem, and we will talk about them a little later. sysupgrade is a kind of OpenWrt invention that allows you to upgrade all rootfs to different firmwares. The sysupgrade script for Gateworks products provides the following: The /sbin/sysupgrade script on the target device flashes the exact kernels/rootfs contained in the image.
The script helps restore fully installed OpenWRT packages after updating the main firmware image via sysupgrade. It works
ONLY if the standard firmware image provided by the OpenWRT project is still sufficient to connect to your Internet, but you
you need additional applications for additional functionality. In other words, DOES NOT WORK if you encounter the Internet
requires additional offers to be installed (for example, a kernel module to get an LTE modem).
The script has been tested to upgrade from OpenWRT 18.06.1 to 18.06.2 and develop an image, and between
Development snapshots. In LEDE 17.01.x “herd” is not a very important part of the default image and therefore must be set manually.
Initial installation:
1. Save the script /etc/package-list/persist to .sh