[yocto] [meta-measured][PATCH] Fix tpm2.0-tss package issue: libraries are not ship into the right packages

Khem Raj raj.khem at gmail.com
Mon Oct 24 16:06:57 PDT 2016


2016-10-24 2:28 GMT-07:00 Thomas Perrot <thomas.perrot at tupi.fr>:
> Signed-off-by: Thomas Perrot <thomas.perrot at tupi.fr>
> ---
>  recipes-tpm/tpm2.0-tss/tpm2.0-tss_git.bb | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/recipes-tpm/tpm2.0-tss/tpm2.0-tss_git.bb b/recipes-tpm/tpm2.0-tss/tpm2.0-tss_git.bb
> index 453523e..175d36b 100644
> --- a/recipes-tpm/tpm2.0-tss/tpm2.0-tss_git.bb
> +++ b/recipes-tpm/tpm2.0-tss/tpm2.0-tss_git.bb
> @@ -40,28 +40,28 @@ PACKAGES = " \
>      resourcemgr \
>  "
>
> -FILES_libtss2 = "${libdir}/libsapi.so.0.0.0"
> +FILES_libtss2 = "${libdir}/libsapi.so.0.0.0 ${libdir}/libsapi.so.0"
>  FILES_libtss2-dev = " \
>      ${includedir}/sapi \
>      ${includedir}/tcti/common.h \
> -    ${libdir}/libsapi.so* \
> +    ${libdir}/libsapi.so \
>      ${libdir}/pkgconfig/sapi.pc \
>  "
>  FILES_libtss2-staticdev = " \
>      ${libdir}/libsapi.a \
>      ${libdir}/libsapi.la \
>  "
> -FILES_libtctidevice = "${libdir}/libtcti-device.so.0.0.0"
> +FILES_libtctidevice = "${libdir}/libtcti-device.so.0.0.0 ${libdir}/libtcti-device.so.0"
>  FILES_libtctidevice-dev = " \
>      ${includedir}/tcti/tcti_device.h \
> -    ${libdir}/libtcti-device.so* \
> +    ${libdir}/libtcti-device.so \
>      ${libdir}/pkgconfig/tcti-device.pc \
>  "
>  FILES_libtctidevice-staticdev = "${libdir}/libtcti-device.*a"
> -FILES_libtctisocket = "${libdir}/libtcti-socket.so.0.0.0"
> +FILES_libtctisocket = "${libdir}/libtcti-socket.so.0.0.0 ${libdir}/libtcti-socket.so.0"
>  FILES_libtctisocket-dev = " \
>      ${includedir}/tcti/tcti_socket.h \
> -    ${libdir}/libtcti-socket.so* \
> +    ${libdir}/libtcti-socket.so \
>      ${libdir}/pkgconfig/tcti-socket.pc \
>  "

usually its preferable to have a single -dev package, I think you should
go in that direction and consolidate these into one

>  FILES_libtctisocket-staticdev = "${libdir}/libtcti-socket.*a"
> --
> 2.9.3
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list