Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: value of "PACKAGE_BEFORE_PN" versus "PACKAGES =+"?
Date: Thu, 03 Jan 2013 21:47:28 +0000	[thread overview]
Message-ID: <1471125.fLHJiJURJn@helios> (raw)
In-Reply-To: <alpine.DEB.2.02.1301030605190.8567@oneiric>

On Thursday 03 January 2013 06:27:57 Robert P. J. Day wrote:
>   predictably, a few minutes after i posted, i realized what was going
> on.  i was a bit confused since the variable name, PACKAGE_BEFORE_PN,
> was so terrifically generic when its purpose is clearly to deal with
> library packages for which (as you say) you'd like to break out the
> generated binary artifacts under /usr/bin and /usr/sbin as a separate
> output package, which makes sense.

It does exactly what it says - puts package(s) before PN.

>   the point i was trying to make above (probably badly) was that it
> seemed unlikely there was much (effective) difference between, as you
> point out, usage of P_B_P and using =+:
> 
> PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale
> ${PACKAGE_BEFORE_PN} ${PN}"
> 
> unless those earlier packages in the above would greedily suck up any
> of /usr/bin or /usr/sbin.

That's correct. PACKAGE_BEFORE_PN just makes things a little easier.

>   is there any value in setting FILES_${PN}-bin without inheriting
> lib_package?

If ${PN}-bin has otherwise been added to PACKAGES, sure.

> see oe-core/meta/recipes-multimedia/pulseaudio, where
> pulseaudio.inc contains the line:
> 
> FILES_${PN}-bin += "${sysconfdir}/default/volatiles/volatiles.04_pulse"
> 
> but there is no reference to lib_package anywhere in that recipe
> directory.  so what's the point of that line above?

Looks like this is a mistake (or something left over from an earlier revision 
of the recipe) since ${PN}-bin isn't in PACKAGES for pulseaudio.

Cheers,
Paul
-- 

Paul Eggleton
Intel Open Source Technology Centre



  reply	other threads:[~2013-01-03 22:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-02 17:04 value of "PACKAGE_BEFORE_PN" versus "PACKAGES =+"? Robert P. J. Day
2013-01-02 18:55 ` Saul Wold
2013-01-03 11:27   ` Robert P. J. Day
2013-01-03 21:47     ` Paul Eggleton [this message]
2013-01-03 23:43       ` Robert P. J. Day

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=1471125.fLHJiJURJn@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=rpjday@crashcourse.ca \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox