Openembedded Core Discussions
 help / color / mirror / Atom feed
* "bitbake-layers show-overlayed" doesn't match its "help" message
@ 2012-07-24  9:53 Robert P. J. Day
  2012-07-24 11:46 ` Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2012-07-24  9:53 UTC (permalink / raw)
  To: OE Core mailing list


  (wasn't sure whether this belonged with current layers thread, it
seemed appropriate to start a new one since it's fairly specific.)

$ bitbake-layers help
... snip ...
  show-overlayed
    list overlayed recipes (where the same recipe exists in another layer that has a higher layer priority)
... snip ...

  tested with with a yocto checkout and, sure enough, there's no
overlays:

$ bitbake-layers show-overlayed
Parsing recipes..done.
No overlayed files found.
$

  so as a test, i copied the "tiny-init" recipe from
meta-yocto/recipes-core to meta/recipes-core, and:

$ bitbake-layers show-overlayed
Parsing recipes..done.
=== Overlayed recipes ===
tiny-init:
  meta-yocto           1.0
  meta                 1.0
$

  those two layers have the same priority, but the help suggests that
you'll only see instances of recipes from layers that have a
*different* priority -- not quite true.

rday

p.s.  i'm assuming that overlaid recipes are just a bad idea anyway,
and should be used only in unusual circumstances, yes?

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "bitbake-layers show-overlayed" doesn't match its "help" message
  2012-07-24  9:53 "bitbake-layers show-overlayed" doesn't match its "help" message Robert P. J. Day
@ 2012-07-24 11:46 ` Paul Eggleton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2012-07-24 11:46 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: openembedded-core

On Tuesday 24 July 2012 05:53:40 Robert P. J. Day wrote:
>   those two layers have the same priority, but the help suggests that
> you'll only see instances of recipes from layers that have a
> *different* priority -- not quite true.

Agreed - the intent was to try to indicate that the recipes that were 
"overlayed" were the ones "underneath" but priority is not always the only 
factor in which one is preferred. I've sent a patch to remove the "confusing" 
bit of description.

> p.s.  i'm assuming that overlaid recipes are just a bad idea anyway,
> and should be used only in unusual circumstances, yes?

Yes; much better to use a bbappend. It's difficult to avoid if you are 
introducing a newer/older version in your layer, but if it's layer intended 
for public consumption and is not a distro layer, you should still think twice 
about doing it.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-24 11:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-24  9:53 "bitbake-layers show-overlayed" doesn't match its "help" message Robert P. J. Day
2012-07-24 11:46 ` Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox