Skip to content

Commit

Permalink
Merge pull request #1861 from flatcar/scripts
Browse files Browse the repository at this point in the history
build_library/grub.cfg: Enable TPM module by default
  • Loading branch information
pothos committed Apr 10, 2024
2 parents 6806ec2 + de5059d commit f6848c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_library/grub_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ case "${FLAGS_target}" in
CORE_NAME="core.img"
;;
x86_64-efi)
CORE_MODULES+=( serial linux efi_gop efinet pgp http tftp )
CORE_MODULES+=( serial linux efi_gop efinet pgp http tftp tpm )
CORE_NAME="core.efi"
SBAT_ARG=( --sbat "${BOARD_ROOT}/usr/share/grub/sbat.csv" )
;;
x86_64-xen)
CORE_NAME="core.elf"
;;
arm64-efi)
CORE_MODULES+=( serial linux efi_gop efinet pgp http tftp )
CORE_MODULES+=( serial linux efi_gop efinet pgp http tftp tpm )
CORE_NAME="core.efi"
BOARD_GRUB=1
SBAT_ARG=( --sbat "${BOARD_ROOT}/usr/share/grub/sbat.csv" )
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 ([scripts#1861](https://github.com/flatcar/scripts/pull/1861))

0 comments on commit f6848c8

Please sign in to comment.