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

Does goosbit support RAUC packages? #131

Open
dHARIZ-25 opened this issue Sep 10, 2024 · 4 comments · May be fixed by #132
Open

Does goosbit support RAUC packages? #131

dHARIZ-25 opened this issue Sep 10, 2024 · 4 comments · May be fixed by #132
Labels
enhancement New feature or request

Comments

@dHARIZ-25
Copy link

Hello,
We are currently using Hawkbit for our machine updates with RAUC packages. We think of migrating to goosebit and use it in a production environment but from our first staging trials we noticed that it only supports SWUpdates packages.
Is it possible to provide another format for updates?

@b-rowan
Copy link
Contributor

b-rowan commented Sep 10, 2024

I think this should be possible, looking at the RAUC docs and considering we implement the hawkbit DDI API for the most part, it seems like they should be mostly compatible.

The main things to do here will be:

  • Keep track of uploaded file format,
  • Parse version from uploaded RAUC files,
  • Verify that the RAUC update client has no edge cases that aren't being already handled.

@jameshilliard
Copy link
Contributor

Maybe look at what's needed to adapt swdesc.py to work with rauc.

@b-rowan
Copy link
Contributor

b-rowan commented Sep 10, 2024

Looks like the images are a squashfs format, we could use something like this - https://github.com/matteomattei/PySquashfsImage

Reference for image types is here - https://rauc.readthedocs.io/en/latest/reference.html#sec-ref-formats

Other than that, it will just be a matter of identifying files as RAUC or SWU format, the we need to look at what information we actually want out of the RAUC manifest.

@b-rowan
Copy link
Contributor

b-rowan commented Sep 10, 2024

Regarding parsing the manifest file, here's the spec for that, seems like TOML - https://rauc.readthedocs.io/en/latest/reference.html#sec-ref-manifest

@b-rowan b-rowan linked a pull request Sep 10, 2024 that will close this issue
@tsagadar tsagadar added the enhancement New feature or request label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants