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

Add the ability to flash all the slots (partitions) within one command using the same bundle #1129

Open
Paiusco opened this issue May 15, 2023 · 0 comments
Labels
enhancement Adds new functionality or enhanced handling to RAUC
Milestone

Comments

@Paiusco
Copy link

Paiusco commented May 15, 2023

Problem:
Currently, for bootstrapping from an image that already follows the same partitioning as the production image to both the slot groups, using RAUC could be more straight forward.

If we consider that one have an A+B system with a rootfs and a vfat for each. And all that one need is to flash the same bundle to both A and B, the process becomes a bit more cumbersome than what's needed if only the "other" needs to be updated. (rauc install http(s)://... suffices)

Alternative:
After a very appreciated help from @ejoerns I got to the steps of:

  • Mounting the bundle (rauc mount http(s):/...)
  • Using write-slot for each one of the slots I have. Mentioning the correct name of each of the images inside the bundle (also error-prone)

Nice solution:
IMO a nice solution would be to have an option even inside the install command where within a flag, I could force the same bundle to be installed in both the slot groups defined. (It might be cases where there are more slots that wouldn't accept this bundle tho, but maybe this is already considered within install)
That would make all the previous mentioned steps become just one.

NOTE: It was mentioned that bootstrapping was previously argued to be out-of-scope, but maybe this one could still fit in the current concept.

NOTE2: If this is still considered to be out-of-scope and the alternative solution is more than acceptable, then I'd consider adding something to the documentation regarding this. I could do it, if we end up with this proposal.

@Paiusco Paiusco added the enhancement Adds new functionality or enhanced handling to RAUC label May 15, 2023
@jluebbe jluebbe added this to the Unplanned milestone Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adds new functionality or enhanced handling to RAUC
Projects
None yet
Development

No branches or pull requests

2 participants