On 13:06-20251117, Andrew Davis wrote:
> On 11/17/25 2:34 AM, Suhaas Joshi via lists.yoctoproject.org wrote:
> > Presently, /usr/lib/libckteec.so is not installed. Instead, the only
> > symlink present is /usr/lib/libckteec.so.0 which points to
> > libckteec.so.0.1.0. This makes OpenSSL commands fail since it looks for
> > /usr/bin/libckteec.so.
> > 
> 
> Seems like this would be an issue for others, have you sent this fix
> upstream to meta-arm?

No, I have not. Will send it soon, once this patch is accepted.

Thanks
Suhaas
>
> Andrew
> 
> > So ensure that this symlink is installed by explicitly adding a
> > FILES:${PN} assignment.
> > 
> > Signed-off-by: Suhaas Joshi <[email protected]>
> > ---
> > v3 -> v4:
> > * I realized that libckteec.so.0* and the PKCS#11 TA file were both already 
> > installed in the SDK.
> >    Therefore, in v4, I have removed the logic for that since its redundant 
> > now. CFG_PKCS11_TA and
> >    CFG_REE_FS are enabled by-default.
> > * v4 only fixes one issue: the absence of libckteec.so. 
> > /usr/bin/libckteec.so should link to
> >    /usr/bin/libckteec.so.0 which then links to /usr/bin/libckteec.so.0.1.0.
> > * Link to v3:
> > https://lore.kernel.org/yocto-meta-ti/[email protected]/T/#t
> > ---
> >   .../recipes-security/optee/optee-client-ti-overrides.inc     | 1 +
> >   meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend   | 5 +++++
> >   2 files changed, 6 insertions(+)
> >   create mode 100644 
> > meta-ti-bsp/recipes-security/optee/optee-client-ti-overrides.inc
> > 
> > diff --git 
> > a/meta-ti-bsp/recipes-security/optee/optee-client-ti-overrides.inc 
> > b/meta-ti-bsp/recipes-security/optee/optee-client-ti-overrides.inc
> > new file mode 100644
> > index 00000000..dd6a9d01
> > --- /dev/null
> > +++ b/meta-ti-bsp/recipes-security/optee/optee-client-ti-overrides.inc
> > @@ -0,0 +1 @@
> > +FILES:${PN} += "${libdir}/libckteec.so*"
> > diff --git a/meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend 
> > b/meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend
> > index f193e78b..0cee127f 100644
> > --- a/meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend
> > +++ b/meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend
> > @@ -2,3 +2,8 @@ OPTEE_TI_VERSION = ""
> >   OPTEE_TI_VERSION:ti-soc = "${BPN}-ti-version.inc"
> >   require ${OPTEE_TI_VERSION}
> > +
> > +OPTEE_TI_OVERRIDES = ""
> > +OPTEE_TI_OVERRIDES:ti-soc = "${BPN}-ti-overrides.inc"
> > +
> > +require ${OPTEE_TI_OVERRIDES}
> > 
> > 
> > 
> > 
> > 
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19285): 
https://lists.yoctoproject.org/g/meta-ti/message/19285
Mute This Topic: https://lists.yoctoproject.org/mt/116334516/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to