How to include TPM2 package when making "Eco system V2.1.0" distribution?
Hi ST
I enabled DISTRO_FEATURES_append = "tpm2" in the file ".../layers/meta-st/meta-st-openstlinux/conf/distro/include/openstlinux.inc" as described in the ST Wiki.
When building with "st-image-weston" I get the following error message:
ERROR: Nothing RPROVIDES 'packagegroup-security-tpm2' (but /home/stm32mp1/Work/Ecosystem-V2.1.0/201119_DVT/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-weston.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'packagegroup-security-tpm2' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-security-tpm2']
ERROR: Required build target 'st-image-weston' has no buildable providers.
Missing or unbuildable dependency chain was: ['st-image-weston', 'packagegroup-security-tpm2']
"... / layers / meta-st / meta-st-openstlinux / recipes-st / images / st-image-weston.bb" of the contents of the file "$ {@ bb.utils.contains ('COMBINED_FEATURES', ' tpm2','packagegroup-security-tpm2','', d)} \"There seems to be a package dependency error.
Is there a workaround?
If you build without DISTRO_FEATURES_append = "tpm2" enabled, you cannot use commands like "tpm2_createprimary".
I would appreciate if you can tell me how to fix it.
Thanks and regards
Machilus
