bitbake-layers layerindex-fetch
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?
Hi Trevor,
Quoted 7 lines · 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
Quoted 8 lines
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
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Hi Paul,
Quoted 13 lines · Paul Eggleton
Hi Trevor,
Quoted 10 lines · 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-qt5and it keeps insisting on installing meta-qt5 and meta-openembedded under my openembedded-core layers resulting in:
Quoted 8 lines
Quoted 5 lines
/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! :-)
Quoted 3 lines
(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.
Quoted 4 lines · Paul Eggleton
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 BBLAYERSBut my layers are stored in /z/master/layers.
Of course I can get around this by using:
$ bitbake-layers remove-layer *meta-realtime
Quoted 15 lines · On Friday 29 May 2015 16:11:41 Trevor Woerner wrote:
Quoted 4 lines · Paul Eggleton
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_DIRvariable, 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
Quoted 8 lines
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
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre