canonical / canonical/secboot

efi/preinstall: RunChecksContext.Run should return immediately if there is a pending PPI operation

Open
#451 0 comments 0 reactions 0 assignees View on GitHub
preinstall-checks
Dominant language
Go
Stars
23
Forks
29
Avg merge
2d 8h
Merged PRs (30d)
2

Description

After executing a PPI operation, there needs to be either a reboot or shutdown for the operation to be handled by the platform firmware, as indicated by the result of the call to `RunChecksContext.Run`. In this case, subsequent calls to `RunChecksContext.Run` should return immediately with the same response as opposed to re-running tests, as the operation may clear more than one error.

To implement this properly, we need to be able to obtain the pending PPI operation via the go-tpm2 `ppi.PPI` interface, but it isn't supported yet.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.