[yocto] Packaging problem

Gary Thomas gary at mlbassoc.com
Tue Oct 28 07:30:39 PDT 2014


On 2014-10-28 08:15, Anders Darander wrote:
> * Gary Thomas <gary at mlbassoc.com> [141028 15:06]:
>> I'm trying to split out some tests from a packages by adding these lines the recipe:
>>     PACKAGES += " ${PN}-tests"
>>     FILES_${PN}-tests = "${libdir}/python*/site-packages/matplotlib/test*"
>>     RDEPENDS_${PN}-tests += " python-nose"
> ...
>> It all looks correct to me, but the -tests package is empty.
>
> I'd guess that the files get picked up in ${PN}, right?
>
> If so, you'll likely need to prepend PACKAGES instead of appending to
> it:
> PACKAGES =+ " ${PN}-tests"
>
> The first package in PACKAGES that can grab a file will do that...
>
> Hopefully this will help you...

Perfect, that fixed it :-)

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list