diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2019-06-27 11:14:55 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-28 13:28:37 +0100 |
commit | dc3b7bd2eb31c32443811466aa32e0d58d969f8a (patch) | |
tree | d14a87656ca4bfe8fa092136a72d34dead45e788 /scripts/lib/scriptpath.py | |
parent | 0df6cef5258ccd6bd137279aa610b6b1bce43640 (diff) | |
download | poky-dc3b7bd2eb31c32443811466aa32e0d58d969f8a.tar.gz |
devtool: warn user about multiple layer having the same base name
Currently `devtool finish RECIPE meta' will silently succeed even
if there are multiple layers having the same base name of 'meta'.
e.g. meta layer from oe-core and meta layer from meta-secure-core.
We should at least give user a warning in such case. With the patch,
we will get warning like below.
WARNING: Multiple layers have the same base name 'meta', use the first one '<PROJ_DIR>/oe-core/meta'.
WARNING: Consider using path instead of base name to specify layer:
<PROJ_DIR>/oe-core/meta
<PROJ_DIR>/meta-secure-core/meta
(From OE-Core rev: 2c8740f543c38dbaef3345e40827ef48b3f75405)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions