Skip to content

Commit de3a39b

Browse files
authored
Merge pull request #1861 from flatcar/kai/grub-tpm
build_library/grub.cfg: Enable TPM module by default
2 parents f389ea5 + 834d32e commit de3a39b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build_library/grub_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ case "${FLAGS_target}" in
6060
CORE_NAME="core.img"
6161
;;
6262
x86_64-efi)
63-
CORE_MODULES+=( serial linux efi_gop efinet pgp http tftp )
63+
CORE_MODULES+=( serial linux efi_gop efinet pgp http tftp tpm )
6464
CORE_NAME="core.efi"
6565
SBAT_ARG=( --sbat "${BOARD_ROOT}/usr/share/grub/sbat.csv" )
6666
;;
6767
x86_64-xen)
6868
CORE_NAME="core.elf"
6969
;;
7070
arm64-efi)
71-
CORE_MODULES+=( serial linux efi_gop efinet pgp http tftp )
71+
CORE_MODULES+=( serial linux efi_gop efinet pgp http tftp tpm )
7272
CORE_NAME="core.efi"
7373
BOARD_GRUB=1
7474
SBAT_ARG=( --sbat "${BOARD_ROOT}/usr/share/grub/sbat.csv" )
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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 commit comments

Comments
 (0)