Hi Peter,

On Friday, 28 June 2019 10:09:22 PM NZST Peter Kjellerstedt wrote:
> I had not realized the layer name in the devtool finish command supports
> abbreviations/patterns (whichever it is). My expectation from running
> `devtool finish foo meta` would be to update the foo recipe in the meta
> layer,  not that it should go looking for every layer called meta-something.

That's not how it works. The logic is here:

  
https://git.openembedded.org/openembedded-core/tree/scripts/lib/devtool/standard.py#n1866

We only have the subdirectory the layer is in to use to determine what the name 
of the layer is, if you only specify the name. The only shortcuts in this 
function are "oe-core" and "openembedded-core" map to "meta". The case this 
patch is attempting to handle is where you have more than one layer in your 
configuration where the subdirectory in which the layer appears is called 
"meta". (People should generally avoid this and put the layer in a subdirectory 
whose name matches the name of the layer, but of course people can do whatever 
they want.)

Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to