[yocto] Package with both daemon and shared object

Vuille, Martin (Martin) vmartin at avaya.com
Wed Oct 14 09:25:04 PDT 2015


Hi,

I am having a bit of trouble understanding something about
packaging.

I have a custom recipe to build a package that contains both
a daemon executable and a shared object interface library
for the daemon.

But the .so is only packaged in ${PN}-dev, not ${PN}, so
it doesn't end up on the target.

Is that expected behavior? How do I get my .so onto the target?

I worked around it by explicitly creating an extra package
and using FILES_${PN}-whatever to force the .so into it, but
now the .so doesn't get included in ${PN}-dev any more.

In general, is there a way to have a file included in two RPMs?
Or am I approaching this from the wrong direction?

Regards,
MV
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151014/55292dbf/attachment.html>


More information about the yocto mailing list