[yocto] Packaging problem

Anders Darander anders at chargestorm.se
Tue Oct 28 07:15:39 PDT 2014


* 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...

Cheers,
Anders
-- 
Anders Darander
ChargeStorm AB / eStorm AB



More information about the yocto mailing list