[yocto] Package generates RPM with lib${PN} - how to include in SDK

Khem Raj raj.khem at gmail.com
Fri Feb 26 00:00:06 PST 2016


> On Feb 25, 2016, at 5:45 AM, Gaurang Shastri <gmshastri at gmail.com> wrote:
> 
> Hi Team,
> 
> I have one package X and recipe as X.bb, which generates RPM as lib${X}-*.rpm
> 
> If I want this package as part of my SDK, what entry should i write in meta-toolchain.bb <http://meta-toolchain.bb/> file:

meta-toolchain should not be used, it has been deprecated in favor of -c populate_sdk task
so you should create an image and add lib${X}-* to IMAGE_INSTALL and then do bitbake -cpopulate_sdk
to generate a SDK.

> 
> I tried adding "nativesdk-X" in meta-toolchain, but everytime it fails with:
> ERROR: nativesdk-X not found in the base feeds (x86_64-nativesdk noarch any all).
> 
> This is because RPM generates with the name libX-*.rpm.
> 
> Regards,
> Gaurang Shastri
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160226/d77c5300/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160226/d77c5300/attachment.pgp>


More information about the yocto mailing list