From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: Packaging problem
Date: Tue, 28 Oct 2014 08:30:39 -0600 [thread overview]
Message-ID: <544FA88F.5060609@mlbassoc.com> (raw)
In-Reply-To: <20141028141539.GG7577@ad.chargestorm.se>
On 2014-10-28 08:15, Anders Darander wrote:
> * Gary Thomas <gary@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
------------------------------------------------------------
next prev parent reply other threads:[~2014-10-28 14:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-28 14:03 Packaging problem Gary Thomas
2014-10-28 14:15 ` Anders Darander
2014-10-28 14:30 ` Gary Thomas [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-07-18 6:54 Rob Kramer
2007-07-19 15:28 ` Rob Kramer
2007-07-19 17:22 ` Paul Sokolovsky
2007-10-09 0:37 ` Hasjim Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=544FA88F.5060609@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.