]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
measure: silence warning on TCG protocol
authorChristian Hesse <mail@eworm.de>
Fri, 10 Oct 2025 15:46:18 +0000 (17:46 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 12 Oct 2025 18:52:10 +0000 (20:52 +0200)
This pops up for some people, and adds a delay on boot.

The proper fix is in #38701, but technically it is a new feature. So
let's just silence the message in v258-stable.

src/boot/measure.c

index b1433ff1b50694bd9dbedaf40e0591708f14e9b6..208ee3b2fafe0fc2fdb7f74f3f797f483a875441 100644 (file)
@@ -198,7 +198,7 @@ uint32_t tpm_get_active_pcr_banks(void) {
 
         /* GetActivePcrBanks() was added only in version 1.1 of the spec */
         if (version.Major < 1 || (version.Major == 1 && version.Minor < 1)) {
-                log_debug("TCG protocol too old for GetActivePcrBanks(), claiming no active banks.");
+                /* log_debug("TCG protocol too old for GetActivePcrBanks(), claiming no active banks."); */
                 return 0;
         }