summaryrefslogtreecommitdiff
path: root/meta-facebook
diff options
context:
space:
mode:
authorPotin Lai <potin.lai@quantatw.com>2022-05-03 19:49:27 +0300
committerPatrick Williams <patrick@stwcx.xyz>2022-05-03 21:17:12 +0300
commit432d8f271aa92a7f22bdf680ac5c41959c8ee618 (patch)
tree88192e65ee3df0ea956ef6434f8093500610b659 /meta-facebook
parentcc4d085c6b911e4806e6e79d4cc5aa05788504c7 (diff)
downloadopenbmc-432d8f271aa92a7f22bdf680ac5c41959c8ee618.tar.xz
meta-facebook: add libtss2-tcti-device package when tpm2 enabled
Add libtss2-tcti-device package to support access tpm via device node /dev/tpm0 Tested Results: root@bletchley:~# /usr/bin/tpm2_getcap properties-fixed 2>/dev/null | grep -A1 TPM2_PT_FIRMWARE_VERSION_1 TPM2_PT_FIRMWARE_VERSION_1: raw: 0x7003E Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I67784a34aeffc38c66f98a3c0dbe995bb098394b
Diffstat (limited to 'meta-facebook')
-rw-r--r--meta-facebook/recipes-phosphor/images/fb-phosphor-image.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-facebook/recipes-phosphor/images/fb-phosphor-image.inc b/meta-facebook/recipes-phosphor/images/fb-phosphor-image.inc
index fbc80809c3..0643f18b45 100644
--- a/meta-facebook/recipes-phosphor/images/fb-phosphor-image.inc
+++ b/meta-facebook/recipes-phosphor/images/fb-phosphor-image.inc
@@ -2,7 +2,7 @@ IMAGE_FEATURES:remove:fb-nohost = "obmc-console"
OBMC_IMAGE_EXTRA_INSTALL:append = "\
${@bb.utils.contains('DISTRO_FEATURES', 'tpm', \
- bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'packagegroup-security-tpm2', '', d), \
+ bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'packagegroup-security-tpm2 libtss2-tcti-device', '', d), \
'', d)} \
"