[yocto] [meta-security][PATCH v2 2/9] trousers: recommend tcsd
Patrick Ohly
patrick.ohly at intel.com
Fri Feb 3 00:46:07 PST 2017
Installing tpm-tools for tools like tpm_takeown pull in the libtspi
package, but the resulting system is not functional unless the tcsd
(from the main "trousers" package) also gets installed. A RRECOMMENDS
entry for that takes care of that automatically.
Signed-off-by: Patrick Ohly <patrick.ohly at intel.com>
---
recipes-tpm/trousers/trousers_git.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/recipes-tpm/trousers/trousers_git.bb b/recipes-tpm/trousers/trousers_git.bb
index 0a7e5b6..5737de3 100644
--- a/recipes-tpm/trousers/trousers_git.bb
+++ b/recipes-tpm/trousers/trousers_git.bb
@@ -56,6 +56,10 @@ PACKAGES = " \
trousers-doc \
"
+# libtspi needs tcsd for most (all?) operations, so suggest to
+# install that.
+RRECOMMENDS_libtspi = "${PN}"
+
FILES_libtspi = " \
${libdir}/*.so.1 \
${libdir}/*.so.1.2.0 \
--
git-series 0.9.1
More information about the yocto
mailing list