Skip to content

Commit

Permalink
build_library/grub.cfg: Enable TPM module by default
Browse files Browse the repository at this point in the history
For binding a secret to the OS we need TPM PCRs that measure the kernel
and boot configuration. Used for:
flatcar/flatcar-website#317
  • Loading branch information
pothos committed Apr 9, 2024
1 parent 385b929 commit fcbc143
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_library/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ set prefix=($root)/flatcar/grub
# Load any and all video drivers.
# Required under UEFI to boot Linux with a working console.
insmod all_video
# Load the TPM2 module to measure the boot code path and files into PCR 8+9
insmod tpm

# Default menuentry id and boot timeout
set default="flatcar"
Expand Down
1 change: 1 addition & 0 deletions changelog/changes/2024-04-09-grub-tpm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Enabled the GRUB TPM2 module to measure the boot code path and files into PCR 8+9 in UEFI

0 comments on commit fcbc143

Please sign in to comment.