I have two Linksys E8450 routers setup in a 802.11s mesh using OpenWRT snapshots.
I'm currently using a snapshot on them and want to sysupgrade both without the mesh failing. I can generate a list of packages I have installed, and have them installed after I upgrade, but that requires an internet connection, which doesn't exist without the mesh being up.
Has anybody written a script to automatically take the opkg output that lists installed packages, then download the current version of those packages, save them in a place that will be backed up and saved during the sysupgrade, and then install those packages first after the sysupgrade using the locally downloaded copies?
Is there a way to have opkg check for a local copy before trying to download? And does it make sense to cache the files that opkg updates using opkg update such that they are saved across the sysupgrade?
Just don't want to duplicate work if somebody has already done this...