poky/scripts/lib
Ross Burton 8463a37d70 yocto-check-layer: check for duplicate layers when finding layers
detect_layers() is very greedy and if it recurses into poky or bitbake
it will find the test suite layers, such as
bitbake/lib/layerindexlib/tests/testdata/layer4. This is a dummy layer
which claims to be openembedded-layer, so if the real openembedded-layer
is a dependency then layer4 may be used instead, which will cause
errors: initially because it's only compatible with Sumo, but later
because it doesn't contain any recipes.

Add a check that the set of layers we've found doesn't contain any
duplicate collection names with different patterns, and abort if that is
the case as the test will be non-deterministic.

(From OE-Core rev: 0df4bae4ec67d38442620fa08c839528b425e2a8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
..
build_perf meta: correct collections vs collections.abc deprecation 2021-09-19 11:33:14 +01:00
checklayer yocto-check-layer: check for duplicate layers when finding layers 2022-02-05 17:46:05 +00:00
devtool devtool: sdk-update: Remove an unnecessary \n from SSTATE_MIRRORS 2022-02-03 09:05:13 +00:00
recipetool recipetool: Fix circular reference in SRC_URI 2022-02-05 17:46:05 +00:00
resulttool resulttool/log: Add ability to dump ltp logs as well as ptest 2020-05-27 10:22:31 +01:00
wic scripts: Update to use exec_module() instead of load_module() 2022-01-05 17:18:16 +00:00
argparse_oe.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
buildstats.py scripts/buildstats-diff: Add option to filter tasks 2019-07-17 09:36:35 +01:00
scriptpath.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
scriptutils.py scripts: Update to use exec_module() instead of load_module() 2022-01-05 17:18:16 +00:00