:: commit 16bc66721512e179512e3a0fef48a13d9b9f941c

Mintsuki <mintsuki@protonmail.com> — 2026-04-30 18:29

parents: 57249f8d67

lib/tpm, docs: Cite GRUB instead of systemd-boot for the PCR allocation

diff --git a/USAGE.md b/USAGE.md
index 70445ccc..dc09f29d 100644
--- a/USAGE.md
+++ b/USAGE.md
@@ -53,7 +53,7 @@ relayed if a TPM is present, since it carries useful PCR 0-7 information
 regardless of what Limine does.
 
 When measured boot is active, Limine extends the platform PCRs with the
-artifacts it loads. The allocation matches the systemd-boot convention:
+artifacts it loads. The allocation follows the GRUB convention:
 
 * **PCR 8** receives, in order, the on-disk `limine.conf` bytes (before any
   in-memory cleanup), and the kernel command line of the booted entry.
diff --git a/common/lib/tpm.h b/common/lib/tpm.h
index 94e5c065..2929029f 100644
--- a/common/lib/tpm.h
+++ b/common/lib/tpm.h
@@ -5,7 +5,7 @@
 #include <stddef.h>
 #include <stdbool.h>
 
-// PCR allocation, matching systemd-boot conventions:
+// PCR allocation, following the GRUB convention:
 //   PCR 8: kernel command line and other authoritative strings
 //   PCR 9: kernel image, initrd, devicetree, and other binary blobs
 #define TPM_PCR_BOOT_AUTH       8
tab: 248 wrap: offon