From ab9a083ac3d124ebbc7cd1ff51a9b5e95a7c8abd Mon Sep 17 00:00:00 2001 From: Adam Piasecki Date: Fri, 29 Nov 2024 10:25:49 +0000 Subject: [PATCH] Add tpm2_getcap to the initrd for Clevis TPM2 functionality The tpm2_getcap binary is required for Clevis TPM2 operations but was missing from the initrd. See: https://github.com/openshift/os/issues/1656 --- .../05rhcos/usr/lib/dracut/modules.d/40rhcos-fde/module-setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/overlay.d/05rhcos/usr/lib/dracut/modules.d/40rhcos-fde/module-setup.sh b/overlay.d/05rhcos/usr/lib/dracut/modules.d/40rhcos-fde/module-setup.sh index e35a0c43..164db1ec 100755 --- a/overlay.d/05rhcos/usr/lib/dracut/modules.d/40rhcos-fde/module-setup.sh +++ b/overlay.d/05rhcos/usr/lib/dracut/modules.d/40rhcos-fde/module-setup.sh @@ -62,6 +62,7 @@ install() { tpm2_create tpm2_createpolicy tpm2_createprimary + tpm2_getcap tpm2_load tpm2_pcrread tpm2_unseal