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

Need somewhere to publish "firmwares" that are used in test #28

Open
smoser opened this issue Oct 6, 2022 · 5 comments
Open

Need somewhere to publish "firmwares" that are used in test #28

smoser opened this issue Oct 6, 2022 · 5 comments

Comments

@smoser
Copy link
Contributor

smoser commented Oct 6, 2022

stubby's test harness uses some "firmwares" files that come from OVMF and from shim-signed packages.
These can be collected from an ubuntu system using './test/collect-firmwares'.

Using different firmware files over time adds variability to the test harness, and exposes it to bugs like in LP: #1986692.

It would be good to publish the firmware files in one way or another, so that we can use consistent versions.

I've attached

  • gen-lxc-firmwares.txt - bash script to use lxc to generate the firmwares files from an ubuntu container
  • focal.tar.gz - files from focal up to date as of today
  • jammy.tar.gz - files from jammy up to date as of today (they suffer bug 1986692, so they're not really usable).
@hallyn
Copy link
Contributor

hallyn commented Oct 7, 2022

What about storing them in oci layers at zothub.io?

@smoser
Copy link
Contributor Author

smoser commented Oct 7, 2022

I guess i'm not entirely opposed to that, but then i need an oci client to download the thing.
You can call me old, but 'wget' works pretty well.

One thought I had was to create a puzzleos project called 'firmware-bins' and then have releases of it or something like that. that way github would host whatever tarball we put up there.

@hallyn
Copy link
Contributor

hallyn commented Nov 7, 2022

One thought I had was to create a puzzleos project called 'firmware-bins' and then have releases of it or something like that. that way github would host whatever tarball we put up there.

Let's do that.

@smoser
Copy link
Contributor Author

smoser commented May 12, 2023

a thought, we are producing these ovmf files in bootkit now: https://github.com/project-machine/bootkit
and bootkit's intent is basically to be a set of bins like that.

@smoser
Copy link
Contributor Author

smoser commented Jul 31, 2023

Just to mention here. I attempted a bump to jammy in PR #35.
The end result is that it really seems like the jammy firmwares are slower.

The are the 4M variant compared to 2M variant on focal.

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

2 participants