public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* can i blacklist a particular .bbclass file when there are more than one?
@ 2020-04-30 13:49 Robert P. J. Day
  2020-04-30 17:01 ` [OE-core] " Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2020-04-30 13:49 UTC (permalink / raw)
  To: OE Core mailing list


  given an odd collection of layers wherein there are multiple
instances of a particular .bbclass file, it turns out that all of the
recipes i'm interested in build with an older version of the class
file, and all but one build consulting the newer form of the file
contained in another layer, so is there any way to blacklist a
particular class file, either globally or even on a per-recipe basis?

  i realize this is really, really bad design style, but it will give
me the chance to use the proper class file for most of the recipes
while i debug the problematic recipe.

rday

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

* Re: [OE-core] can i blacklist a particular .bbclass file when there are more than one?
  2020-04-30 13:49 can i blacklist a particular .bbclass file when there are more than one? Robert P. J. Day
@ 2020-04-30 17:01 ` Denys Dmytriyenko
  2020-05-04  8:38   ` Quentin Schulz
  0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2020-04-30 17:01 UTC (permalink / raw)
  To: openembedded-core

On Thu, Apr 30, 2020 at 09:49:32AM -0400, Robert P. J. Day wrote:
> 
>   given an odd collection of layers wherein there are multiple
> instances of a particular .bbclass file, it turns out that all of the
> recipes i'm interested in build with an older version of the class
> file, and all but one build consulting the newer form of the file
> contained in another layer, so is there any way to blacklist a
> particular class file, either globally or even on a per-recipe basis?
> 
>   i realize this is really, really bad design style, but it will give
> me the chance to use the proper class file for most of the recipes
> while i debug the problematic recipe.

The order of BBLAYERS in bblayers.conf affects which class will be used 
globally for the build. Don't believe can be done per-recipe.

BTW, would these generic questions better belong to yocto list istead of 
openembedded-core?

-- 
Denys

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

* Re: [OE-core] can i blacklist a particular .bbclass file when there are more than one?
  2020-04-30 17:01 ` [OE-core] " Denys Dmytriyenko
@ 2020-05-04  8:38   ` Quentin Schulz
  0 siblings, 0 replies; 3+ messages in thread
From: Quentin Schulz @ 2020-05-04  8:38 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: openembedded-core

On Thu, Apr 30, 2020 at 01:01:16PM -0400, Denys Dmytriyenko wrote:
> On Thu, Apr 30, 2020 at 09:49:32AM -0400, Robert P. J. Day wrote:
> > 
> >   given an odd collection of layers wherein there are multiple
> > instances of a particular .bbclass file, it turns out that all of the
> > recipes i'm interested in build with an older version of the class
> > file, and all but one build consulting the newer form of the file
> > contained in another layer, so is there any way to blacklist a
> > particular class file, either globally or even on a per-recipe basis?
> > 
> >   i realize this is really, really bad design style, but it will give
> > me the chance to use the proper class file for most of the recipes
> > while i debug the problematic recipe.
> 
> The order of BBLAYERS in bblayers.conf affects which class will be used 
> globally for the build. Don't believe can be done per-recipe.
> 

To be exact, the order in BBPATH will be used to get the class. It
defaults to BBPATH .= in conf/layer.conf so that the actual order of
parsing of layers (given in bblayers.conf) matters because all append to
BBPATH but you could prepend to it in one of your layer so that it has
higher priority than anything else.

To answer your question, maybe there is some trickery possible per machine
or distro for bbpath but I wouldn't count on it.

Quentin

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

end of thread, other threads:[~2020-05-04  8:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-30 13:49 can i blacklist a particular .bbclass file when there are more than one? Robert P. J. Day
2020-04-30 17:01 ` [OE-core] " Denys Dmytriyenko
2020-05-04  8:38   ` Quentin Schulz

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