Age | Commit message (Collapse) | Author | Files |
|
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".
|
|
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.
|
|
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
|