All of lore.kernel.org
 help / color / mirror / Atom feed
* bitbake-layers layerindex-fetch
@ 2015-05-22 21:57 Trevor Woerner
  2015-05-26 13:51 ` Paul Eggleton
  0 siblings, 1 reply; 5+ messages in thread
From: Trevor Woerner @ 2015-05-22 21:57 UTC (permalink / raw)
  To: bitbake-devel

I'm curious to know what heuristic "bitbake-layers layerindex-fetch"
uses to determine where to place the fetched layers?

I asked my system to:

  $ bitbake-layers layerindex-fetch meta-qt5

and it keeps insisting on installing meta-qt5 and meta-openembedded
under my openembedded-core layers resulting in:

  /z/master/layers/openembedded-core/meta-openembedded/meta-ruby \
  /z/master/layers/openembedded-core/meta-qt5 \

Is there a way that I can tell bitbake-layers that my layers are located
at /z/master/layers and have it work from there?


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

* Re: bitbake-layers layerindex-fetch
  2015-05-22 21:57 bitbake-layers layerindex-fetch Trevor Woerner
@ 2015-05-26 13:51 ` Paul Eggleton
  2015-05-29 18:21   ` Trevor Woerner
  2015-05-29 20:11   ` Trevor Woerner
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Eggleton @ 2015-05-26 13:51 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: bitbake-devel

Hi Trevor,

On Friday 22 May 2015 17:57:46 Trevor Woerner wrote:
> I'm curious to know what heuristic "bitbake-layers layerindex-fetch"
> uses to determine where to place the fetched layers?
> 
> I asked my system to:
> 
>   $ bitbake-layers layerindex-fetch meta-qt5
> 
> and it keeps insisting on installing meta-qt5 and meta-openembedded
> under my openembedded-core layers resulting in:
> 
>   /z/master/layers/openembedded-core/meta-openembedded/meta-ruby \
>   /z/master/layers/openembedded-core/meta-qt5 \
> 
> Is there a way that I can tell bitbake-layers that my layers are located
> at /z/master/layers and have it work from there?

This is controlled by BBLAYERS_FETCH_DIR; by default this is set to 
"${COREBASE}" with ??= so you can set it to your preferred value in local.conf 
as desired. (We should definitely document this, I acknowledge at the moment it 
isn't documented anywhere.)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: bitbake-layers layerindex-fetch
  2015-05-26 13:51 ` Paul Eggleton
@ 2015-05-29 18:21   ` Trevor Woerner
  2015-05-29 20:11   ` Trevor Woerner
  1 sibling, 0 replies; 5+ messages in thread
From: Trevor Woerner @ 2015-05-29 18:21 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: bitbake-devel

Hi Paul,

On 05/26/15 09:51, Paul Eggleton wrote:
> Hi Trevor,
>
> On Friday 22 May 2015 17:57:46 Trevor Woerner wrote:
>> I'm curious to know what heuristic "bitbake-layers layerindex-fetch"
>> uses to determine where to place the fetched layers?
>>
>> I asked my system to:
>>
>>   $ bitbake-layers layerindex-fetch meta-qt5
>>
>> and it keeps insisting on installing meta-qt5 and meta-openembedded
>> under my openembedded-core layers resulting in:
>>
>>   /z/master/layers/openembedded-core/meta-openembedded/meta-ruby \
>>   /z/master/layers/openembedded-core/meta-qt5 \
>>
>> Is there a way that I can tell bitbake-layers that my layers are located
>> at /z/master/layers and have it work from there?
> This is controlled by BBLAYERS_FETCH_DIR; by default this is set to 
> "${COREBASE}" with ??= so you can set it to your preferred value in local.conf 
> as desired.

Awesome, thanks! :-)

>  (We should definitely document this, I acknowledge at the moment it 
> isn't documented anywhere.)
>

I've sent a patch for the Bitbake User's Manual.


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

* Re: bitbake-layers layerindex-fetch
  2015-05-26 13:51 ` Paul Eggleton
  2015-05-29 18:21   ` Trevor Woerner
@ 2015-05-29 20:11   ` Trevor Woerner
  2015-06-03  8:29     ` Paul Eggleton
  1 sibling, 1 reply; 5+ messages in thread
From: Trevor Woerner @ 2015-05-29 20:11 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: bitbake-devel

On 05/26/15 09:51, Paul Eggleton wrote:
> This is controlled by BBLAYERS_FETCH_DIR; by default this is set to 
> "${COREBASE}" with ??= so you can set it to your preferred value in local.conf 
> as desired. (We should definitely document this, I acknowledge at the moment it 
> isn't documented anywhere.)

It'd be nice if "bitbake-layers remove-layer" had the same mechanism.
Some way (preferably using the same BBLAYERS_FETCH_DIR variable,
possibly renamed so it made sense in both cases) to specify the base of
where my layers are stored:

    $ bitbake-layers remove-layer meta-realtime
    No layers matching /z/master/rpi-poky-linaro-rt/meta-realtime found
in BBLAYERS

But my layers are stored in /z/master/layers.




Of course I can get around this by using:

    $ bitbake-layers remove-layer *meta-realtime


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

* Re: bitbake-layers layerindex-fetch
  2015-05-29 20:11   ` Trevor Woerner
@ 2015-06-03  8:29     ` Paul Eggleton
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2015-06-03  8:29 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: bitbake-devel

On Friday 29 May 2015 16:11:41 Trevor Woerner wrote:
> On 05/26/15 09:51, Paul Eggleton wrote:
> > This is controlled by BBLAYERS_FETCH_DIR; by default this is set to
> > "${COREBASE}" with ??= so you can set it to your preferred value in
> > local.conf as desired. (We should definitely document this, I acknowledge
> > at the moment it isn't documented anywhere.)
> 
> It'd be nice if "bitbake-layers remove-layer" had the same mechanism.
> Some way (preferably using the same BBLAYERS_FETCH_DIR variable,
> possibly renamed so it made sense in both cases) to specify the base of
> where my layers are stored:
> 
>     $ bitbake-layers remove-layer meta-realtime
>     No layers matching /z/master/rpi-poky-linaro-rt/meta-realtime found
> in BBLAYERS
> 
> But my layers are stored in /z/master/layers.
> 
> 
> 
> 
> Of course I can get around this by using:
> 
>     $ bitbake-layers remove-layer *meta-realtime

Right, it expects a layer path and not just a layer name. I've entered the 
following enhancement:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=7839

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

end of thread, other threads:[~2015-06-03  8:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-22 21:57 bitbake-layers layerindex-fetch Trevor Woerner
2015-05-26 13:51 ` Paul Eggleton
2015-05-29 18:21   ` Trevor Woerner
2015-05-29 20:11   ` Trevor Woerner
2015-06-03  8:29     ` Paul Eggleton

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.