mbox series

[0/2] meta-tpm: Update python runtime dependencies

Message ID 20250311103333.2972573-1-omri.sarig13@gmail.com
Headers show
Series meta-tpm: Update python runtime dependencies | expand

Message

Omri Sarig March 11, 2025, 10:33 a.m. UTC
When adding the package of tpm2-pkcs11-tools to my Yocto build, the file
of pkcs11-tool failed to run.
There were several different errors, all originated in missing python
packages on my target platform.

I've added the relevant python packages as runtime dependencies to the
relevant recipes in the repository, to ensure that the recipes are
always self-contained.

Omri Sarig (2):
  tpm2-pytss: Add python3-asn1crypto runtime dependency
  tpm2-pkcs11: Add tools python runtime dependencies

 meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_1.9.1.bb       | 2 +-
 meta-tpm/recipes-tpm2/tpm2-pytss/python3-tpm2-pytss_2.3.0.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Mikko Rapeli March 11, 2025, 10:38 a.m. UTC | #1
Hi,

On Tue, Mar 11, 2025 at 11:33:31AM +0100, Omri Sarig via lists.yoctoproject.org wrote:
> When adding the package of tpm2-pkcs11-tools to my Yocto build, the file
> of pkcs11-tool failed to run.
> There were several different errors, all originated in missing python
> packages on my target platform.
> 
> I've added the relevant python packages as runtime dependencies to the
> relevant recipes in the repository, to ensure that the recipes are
> always self-contained.

Could you also extend meta-tpm/lib/oeqa/runtime/cases/tpm2.py
with tests to run these tools in some simple ways? These
dependencies may change with updates and would be nice to not
break them again.

Cheers,

-Mikko