flihp / meta-measured

openembedded meta layer containing recipes for TPM / TCG software
Other
20 stars 33 forks source link

tpm2-tools: DEPEND on abrmd #68

Closed twoerner closed 6 years ago

twoerner commented 6 years ago

This layer expects to run the abrmd daemon on the target, so that the tools interact with it

# tpm2_pcrlist -T abrmd

(since it is running) instead of the device directly (i.e. when the daemon is not running)

# tpm2_pcrlist -T device:/dev/tpm0

Whether or not the tools are built to use the tabrmd depends on whether or not the ./configure script finds the tabrmd libraries during configuration. Without this recipe DEPENDing on the abrmd recipe, these tools will never be built to use tabrmd as a TCTI.

Without DEPENDS:

# tpm2_pcrlist -v
tool="tpm2_pcrlist" version="" tctis="socket,device,"

With DEPENDS:

# tpm2_pcrlist -v
tool="tpm2_pcrlist" version="" tctis="tabrmd,socket,device,"

Signed-off-by: Trevor Woerner twoerner@gmail.com