All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomas Frydrych <tf+lists.yocto@r-finger.com>
To: poky@yoctoproject.org
Subject: Re: Files missing from package
Date: Mon, 08 Oct 2012 18:40:45 +0100	[thread overview]
Message-ID: <5073101D.9080204@r-finger.com> (raw)
In-Reply-To: <5797264.jLXkT5xyjF@helios>

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.

Tomas


  parent reply	other threads:[~2012-10-08 17:41 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 [this message]
2012-10-08 18:22     ` Paul Eggleton
2012-10-08 18:56       ` Tomas Frydrych
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=5073101D.9080204@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.