From: Tomas Frydrych <tf+lists.yocto@r-finger.com>
Cc: poky@yoctoproject.org
Subject: Re: Files missing from package
Date: Mon, 08 Oct 2012 19:56:47 +0100 [thread overview]
Message-ID: <507321EF.7070009@r-finger.com> (raw)
In-Reply-To: <4966710.FLmFsZHAgP@helios>
On 08/10/12 19:22, Paul Eggleton wrote:
> On Monday 08 October 2012 18:40:45 Tomas Frydrych wrote:
>> On 08/10/12 17:24, Paul Eggleton wrote:
>>> Since ${sysconfdir} is /etc by default and ${sysconfdir} is in the default
>>> value of FILES_${PN}, and your additional package is appended to PACKAGES,
>>> I suspect you'll find the file is being picked up by the main package
>>> first. You need to use =+ instead of += so that the some-tool-tools
>>> package is prepended to PACKAGES and thus gets the file before the main
>>> package.
>>
>> Probably worth noting that using =+ with PACKAGES can have some
>> undesirable side effects. For example, if the recipe in question
>> generates packages dynamically, e.g., for plugins, the first package in
>> the PACKAGES list will be considered the 'main' package, and the dynamic
>> packages will RDEPEND on it. If you modify PACKAGES in such a recipe
>> using the =+, this will result in broken dependency chain without any
>> obvious signs something is not right. I think it's much better to
>> explicitly specify what should go into the main package than using =+ to
>> work around the unsuitable main package default.
>
> If we're using just the first item in PACKAGES for anything anywhere then that
> is wrong and we should fix it. I would be surprised if we were still doing that
Denzil does,
http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/classes/package.bbclass?h=denzil#n110
Tomas
next prev parent reply other threads:[~2012-10-08 18:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-08 16:13 Files missing from package Gary Thomas
2012-10-08 16:24 ` Paul Eggleton
2012-10-08 16:32 ` Gary Thomas
2012-10-08 17:40 ` Tomas Frydrych
2012-10-08 18:22 ` Paul Eggleton
2012-10-08 18:56 ` Tomas Frydrych [this message]
2012-10-08 20:37 ` Richard Purdie
2012-10-08 22:22 ` Gary Thomas
2012-10-08 22:39 ` Richard Purdie
2012-10-09 12:36 ` Gary Thomas
2012-10-09 12:41 ` Paul Eggleton
2012-10-09 12:46 ` Gary Thomas
2012-10-09 12:48 ` Paul Eggleton
2012-10-09 12:53 ` Gary Thomas
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=507321EF.7070009@r-finger.com \
--to=tf+lists.yocto@r-finger.com \
--cc=poky@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.