summaryrefslogtreecommitdiff
path: root/recipes-tpm2
AgeCommit message (Collapse)AuthorFiles
2022-04-12MTCAP3: Fix tpm2-tss-engine for new versions of opensslSerhii Kostiuk1
Modern versions of openssl look for engine files that do not have the "lib" prefix. The current tpm2-tss-engine recipe provides a symlink from "tpm2tss.so" to "libtpm2tss.so" in the "-dev" package. Adding "-dev" packages to the image is not an option (increases the image size by more than 20 MiB) and the "-engines" package does not provide the required symlink. Provide the symlink in "tpm2-tss-engine-engines" so it can be used in the image instead of "tpm2-tss-engine-dev".
2022-03-15Clone and fix tpm2-tss_2.3.2.bb so to fix incorrect usage of extrausers ↵Mykyta Dorokhin2
class instead of useradd Note: tpm2-tss_2.3.2.bbappend didn't work since meta-security is not included into at91 and mtk builds. Javing bbappend for the recipy that is not in the build triggers an error.
2022-03-15Fix incorrect usage of extrausers class instead of useradd class in ↵Mykyta Dorokhin1
tpm2-tss_2.3.2.bb recipe. Wrong usage leads to the folowing: bash# cat /etc/group | grep 1000 tss:x:1000: admin:x:1000: bash# cat /etc/passwd | grep 1000 tss:x:999:1000::/var/lib/tpm:/bin/false admin:x:1000:1000:admin:/home/admin:/bin/bash Fixed in mainline yocto (tpm2-tss_3.1.0.bb): https://git.yoctoproject.org/meta-security/commit/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_3.1.0.bb?id=da23c2a094b2e1a87da2932552ec96c0f842a639