Bug 8050 - scripts/yocto-layer creates meta-meta-example if meta-example passed as the name
Summary: scripts/yocto-layer creates meta-meta-example if meta-example passed as the name
Status: VERIFIED FIXED
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: layers (show other bugs)
Version: 2.0.1
Hardware: x86 Multiple
: Low enhancement
Target Milestone: 2.1 M2
Assignee: Humberto Ibarra
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-07-24 17:00 UTC by Benjamin Esquivel
Modified: 2016-03-14 10:17 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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