Skip to content

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

@chrisccoulson

Description

@chrisccoulson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    preinstall-checksRelated to the EFI preinstall checks in secboot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions