diff options
author | Humberto Ibarra <humberto.ibarra.lopez@intel.com> | 2015-12-09 12:04:56 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-07 13:52:21 +0000 |
commit | 0f3ad7c77aa0f8bb7641af1886e1420cdfa8419f (patch) | |
tree | d0d0fc8c164d17978f2c18cbd662563e7e294d55 /meta-skeleton | |
parent | 220ef3269f4413ace3d5833813a1f4798b1202f4 (diff) | |
download | poky-0f3ad7c77aa0f8bb7641af1886e1420cdfa8419f.tar.gz |
scripts/yocto-layer: Avoids duplication of "meta-" prefix
The yocto-layer script puts and extra "meta-" prefix on the given layer
name even when the prefix is already there. This fix avoids duplicating
the prefix in these situations.
The change was done inside the create subcommand since this is a parsing
specific to the layer creation. Parsing this in the main method of
yocto-layer was not the right way to go.
Before the change:
$ yocto-layer create meta-layer
[...]
New layer created in meta-meta-layer.
After the change:
$ yocto-layer create meta-layer
[...]
New layer created in meta-layer.
[YOCTO #8050]
(From meta-yocto rev: e21c79eb830ed1593e81f2d58815664109a10933)
Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton')
0 files changed, 0 insertions, 0 deletions