Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto-install bbbdigger after remote sysupgrade #755

Open
kls0e opened this issue Jan 9, 2020 · 2 comments
Open

auto-install bbbdigger after remote sysupgrade #755

kls0e opened this issue Jan 9, 2020 · 2 comments

Comments

@kls0e
Copy link

kls0e commented Jan 9, 2020

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.

@akira25
Copy link
Member

akira25 commented Jan 9, 2020

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.

@pmelange
Copy link
Contributor

See #701.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants