summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2020-07-15 11:20:28 +0800
committerJia Zhang <zhang.jia@linux.alibaba.com>2020-07-15 16:49:12 +0800
commit3801a7e7162dd0dbb740100afddbcafb5719d8da (patch)
tree085914737e9029b86f47ecd810fb25b82564a79e
parentc61b8157fba01dc84681d065591247a565263a64 (diff)
downloadmeta-secure-core-3801a7e7162dd0dbb740100afddbcafb5719d8da.tar.gz
tpm2-abrmd: rdepends on libtss2-tcti-device and libtss2-tcti-mssim
The tpm2-abrmd daemon needs TCTI library for TPM2 device or simulator. But the libtss2-tcti-device and libtss2-tcti-mssim packages are not installed by default which causes the tpm2-abrmd daemon startup failure: systemd[1]: Starting TPM2 Access Broker and Resource Management Daemon... tpm2-abrmd[459]: tcti_conf before: "device:/dev/tpm0" tpm2-abrmd[459]: tcti_conf after: "device:/dev/tpm0" tpm2-abrmd[459]: ERROR:tcti:../tpm2-tss-2.3.2/src/tss2-tcti/tctildr.c:418:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI tpm2-abrmd[459]: init_thread_func: failed to create TCTI with conf "device:/dev/tpm0" tpm2-abrmd[459]: g_bus_unown_name: assertion 'owner_id > 0' failed Add libtss2-tcti-device and libtss2-tcti-mssim to runtime dependencies. Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
-rw-r--r--meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_2.3.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_2.3.0.bb b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_2.3.0.bb
index 991364a..f111a30 100644
--- a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_2.3.0.bb
+++ b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_2.3.0.bb
@@ -49,6 +49,6 @@ do_install_append() {
49FILES_${PN} += "${libdir}/systemd/system-preset \ 49FILES_${PN} += "${libdir}/systemd/system-preset \
50 ${datadir}/dbus-1" 50 ${datadir}/dbus-1"
51 51
52RDEPENDS_${PN} += "tpm2-tss" 52RDEPENDS_${PN} += "tpm2-tss libtss2-tcti-device libtss2-tcti-mssim"
53 53
54BBCLASSEXTEND = "native" 54BBCLASSEXTEND = "native"