Skip to content

Quality improvements - #554

Merged
frederic-hoerni merged 4 commits into
masterfrom
quality-improvements
Jul 23, 2026
Merged

Quality improvements#554
frederic-hoerni merged 4 commits into
masterfrom
quality-improvements

Conversation

@frederic-hoerni

Copy link
Copy Markdown
Collaborator
  • efi/pcr_profile: minor quality improvements
  • Makefile: add check-efi
  • efi: add pcr number on panic message
  • efi/preinstall: add option --event-log

@pedronis pedronis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one question

Comment thread efi/pcr_profile_test.go

var digests tpm2.DigestList
for i := 0; i <= 2; i++ {
for i := 0; i <= 1; i++ {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this change about?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original loop creates 3 items in the list, but only the first 2 are used in the test.
This modification is to remove useless code and processing.

@pedronis pedronis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@frederic-hoerni
frederic-hoerni merged commit 33c8514 into master Jul 23, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants