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

Transactional AB updates #1

Closed
ghost opened this issue Apr 9, 2018 · 4 comments
Closed

Transactional AB updates #1

ghost opened this issue Apr 9, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Apr 9, 2018

I am interested in using gonrazy for a system of iot devices.
For remote updates to work I need transactional updates to be possible.

From what I can see this is not a functionality of gokrazy ?

@stapelberg
Copy link
Contributor

What do you mean by transactional updates?

@ghost
Copy link
Author

ghost commented Apr 9, 2018

Thanks for the prompt update.

Chrome OS and Ubuntu Core are 2 well known examples.

Important features of it are:

  1. The OS pulls down the OS updates in the background whilst the system is working.
  2. The system has 2 partitions ( hence the A / B in the name) and will try to apply the update to the other partition and boot of it.
  3. If booting of the newly updated fails for whatever reason it will rollback to the old partition. Hence why its called "Transactional".

Others using golang on raspberry PI's also need this.
hypriot/os-rootfs#41

@stapelberg
Copy link
Contributor

This is exactly what gokrazy does. I’ll close this as there is nothing to change here.

@ghost
Copy link
Author

ghost commented Apr 9, 2018 via email

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

No branches or pull requests

1 participant