Make TPM errors less fatal
Handle TPM errors, and stop trying to use the TPM once we hit one.
This commit is contained in:
parent
5962f7d5e7
commit
bf25cda14e
11 changed files with 29 additions and 4 deletions
|
@ -386,6 +386,7 @@ grub_cmd_module (grub_command_t cmd __attribute__ ((unused)),
|
|||
|
||||
grub_file_close (file);
|
||||
grub_tpm_measure (module, size, GRUB_BINARY_PCR, "grub_multiboot", argv[0]);
|
||||
grub_print_error();
|
||||
return GRUB_ERR_NONE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue