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 a46e2a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build_library/grub_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ GRUB_DIR="flatcar/grub/${FLAGS_target}"
GRUB_SRC="/usr/lib/grub/${FLAGS_target}"

# Modules required to boot a standard CoreOS configuration
CORE_MODULES=( normal search test fat part_gpt search_fs_uuid gzio search_part_label terminal gptprio configfile memdisk tar echo read )
CORE_MODULES=( normal search test fat part_gpt search_fs_uuid gzio search_part_label terminal gptprio configfile memdisk tar echo read tpm )

# Name of the core image, depends on target
CORE_NAME=
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 a46e2a3

Please sign in to comment.