Bug 8050

Summary: scripts/yocto-layer creates meta-meta-example if meta-example passed as the name
Product: [Build System, Metadata & Runtime] Other YP Layers Reporter: Benjamin Esquivel <benjamin.esquivel>
Component: layersAssignee: Humberto Ibarra <humberto.ibarra.lopez>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: enhancement    
Priority: Low CC: bogdanx.a.voiculescu, mhalstead, poky.bs.watcher, poky.watcher
Version: 2.0.1   
Target Milestone: 2.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Benjamin Esquivel 2015-07-24 17:00:56 UTC
When adding a new layer like:

$ ./scripts/yocto-layer create meta-example

Creates a layer called: meta-meta-example. While it is OK to prepend meta to the name you want to set for your layer, it should check if meta is already there and not duplicate it.
Comment 1 Humberto Ibarra 2015-07-29 19:51:41 UTC
Sent patch for review.
Comment 2 Humberto Ibarra 2015-12-08 17:26:18 UTC
Sent v2 patch for review

http://lists.openembedded.org/pipermail/openembedded-core/2015-July/107979.html
Comment 4 Bogdan Alexandru Voiculescu 2016-03-14 10:17:54 UTC
Verified on 8debfea81e69d038bd2d56314b272cb74f5582ed