-
Notifications
You must be signed in to change notification settings - Fork 31
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
Fix the orphan snakeoil/OVMF_VARS.snakeoil.fd file #187
Comments
Ideally we would want to build them in a scriptable way, but not sure how feasible will that be. The minimum we want is to have some instructions on how to regenerate the file manually (start with OVMF, put the fw in set-up mode, etc). |
I have done something in the past that was totally automated. An efi script that calls lockdown.efi then powers off. We just make a small image with that and boot qemu with |
Note, we can drop .fd whilst keeping the keys. I added it here, because at the time most people were not on $newest release to have direct access to .fd file. It is available in ubuntu for x86_64 since focal, and for x86_64 and arm64 since jammy https://packages.ubuntu.com/search?suite=jammy&arch=any&searchon=contents&keywords=snakeoil.fd Thus one should use edk install on a given ubuntu host to boot with those variables in place, on either x86_64 or arm64. I am in favor of removing the snaokeoil.fd file. |
The tests should use code & vars for snakeoil as shipped in the ubuntu archive. |
snakeoil/OVMF_VARS.snakeoil.fd
might not matchOVMF_CODE.secboot.fd
we use in tests.Here are some ways we could handle it:
lockdown.efi
from efitools to install snakeoil keys on anyOVMF_VARS.fd
The text was updated successfully, but these errors were encountered: