diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2018-08-29 10:52:17 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-04 13:16:51 +0100 |
commit | 1787cef7221b88f6920ea70fadaffc117d84c7aa (patch) | |
tree | 3b1c3a385df5067910792a537b0f0a059da2900e /lib/layerindexlib | |
parent | 43ff74d675baed13fc17e1d12c0e013b16ba249b (diff) | |
download | bitbake-1787cef7221b88f6920ea70fadaffc117d84c7aa.tar.gz |
cooker.py: Fix incorrect bb files matched warning
In the case of a sublayer of an existing layer, where the sublayer and
main layer share a path, the system may not match the paths properly resulting
in:
No bb files matched BBFILE_PATTERN_sublayer '^/path/main/sublayer'
because it has already matched the main layer.
Fix this issue by sorting the collection items based on the pattern, using
longest to shortest. Obviously regex wildcards could still be an issue
but these are typically not used, so this simply fix should work in the
existing cases.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/layerindexlib')
0 files changed, 0 insertions, 0 deletions