firmware icon indicating copy to clipboard operation
firmware copied to clipboard

auto-install bbbdigger after remote sysupgrade

Open kls0e opened this issue 5 years ago • 2 comments

Hi, in case I am upgrading the firmware of a remote tunneldigger node via ssh, a manually installed bbbdigger backbone tunnel will be lost and the router is no longer reachable from within freifunk berlin backbone. I know this has been pointed out before - I would appreciate it if we found a way of how to mitigate this issue.

kls0e avatar Jan 09 '20 22:01 kls0e

Hi kl0se,

maybe you could have a look at those two function from my script.

The first one generates a list of the currently installed packages and save them at a location, which is secured by sysupgrade over reflash. get_package_list() set_preserved_backup_dir()

After the upgrade a uci-defaults-script should handle, to install all missing packages. #get the list of packages and compare

You could port those functions into a separate commit, as the finalization of my script may take some further time.

akira25 avatar Jan 09 '20 23:01 akira25

See #701.

pmelange avatar Jan 10 '20 08:01 pmelange