Dynamic layer or recipe not working


Andy Pont
 

Hello,

I have created a new dynamic layer within my projects custom meta-layer and have added a new recipe to it.  When I try to build the image it tells me that nothing RPROVIDES the recipe and if I try to build the recipe on its own it says “Nothing PROVIDES…”.

I have tried running:

$ bitbake-layers show-recipes | grep <recipe_name>

…and nothing is returned.

How do I determine whether it is the dynamic layer that isn’t being found or the recipe itself that isn’t correct.

-Andy.

 
 
 


Khem Raj
 

On Tue, Dec 17, 2019 at 1:15 AM Andy Pont <andy.pont@...> wrote:

Hello,

I have created a new dynamic layer within my projects custom meta-layer and have added a new recipe to it. When I try to build the image it tells me that nothing RPROVIDES the recipe and if I try to build the recipe on its own it says “Nothing PROVIDES…”.

I have tried running:

$ bitbake-layers show-recipes | grep <recipe_name>

…and nothing is returned.

How do I determine whether it is the dynamic layer that isn’t being found or the recipe itself that isn’t correct.
share what changes you made.

-Andy.





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#47716): https://lists.yoctoproject.org/g/yocto/message/47716
Mute This Topic: https://lists.yoctoproject.org/mt/68756945/1997914
Group Owner: yocto+owner@...
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [raj.khem@...]
-=-=-=-=-=-=-=-=-=-=-=-


Andy Pont
 

Konrad wrote…

I don’t fully get what you trying to achieve, but the from my point of view dynamic layers (BBFILES_DYNAMIC) are mainly used for bbappends only.
They prevent bitbake from parsing a bbappend in case the layer with the original bb file is absent.
I was trying to follow the example of the meta-freescale layer which has both .bb and .bbappend files within dynamic layers.  

Having thought about it some more I realise that it could just be in one of the regular recipe-xxxxx directories and didn’t need to be in a dynamic layer after all.

-Andy.