vmm_test: support ubuntu images that have shim to not require a reboot when a tpm is enabled
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.9k
- Forks
- 238
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 100
Description
For some reason, shim wants an explicit boot entry in UEFI if a tpm is present. If it's not present, it writes one, then issues a reboot. This breaks certain tests as the test infra does not expect a reboot, which we can hack around for now.
Instead, we should figure out how to create a UEFI relative path boot entry and have petri set that up. This way, we don't need these hacks to support multi reboots because shim wants this behavior.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the vmm_test setup and the petri boot-entry configuration described in the issue, focusing on Ubuntu images using shim with TPM enabled. Determine how to create a UEFI-relative boot entry and verify that the affected tests boot without shim-triggered reboots or multi-reboot workarounds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100