summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/copy_buildsystem.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-24 15:23:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-05 17:43:23 +0100
commit65368059b874313b1593f93001b4e3218b3522af (patch)
treeb8432b90d6c5775ea806de95e2e20a8a397c9221 /meta/lib/oe/copy_buildsystem.py
parent2f718bb3c37584e0246e0d89ba1eff8a751ad4d5 (diff)
downloadpoky-65368059b874313b1593f93001b4e3218b3522af.tar.gz
yocto-check-layer: Avoid bug when iterating and autoadding dependencies
If iterating a layer with multiple components and auto-adding dependencies the tests can break since layers are never removed and order isn't guaranteed to account for that. Fix this by resetting the layer list back to the original list each time before auto-adding the dependencies in each case. This fixes scanning of meta-openembedded in particular where the sublayers may not be added in order of minimal dependency. (From OE-Core rev: 079aba1a6fdf1d4b034c2e32c952cd2c30b861ff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bf1b467dacf345379cd5d84a1c9b3b0d844d5c91) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/copy_buildsystem.py')
0 files changed, 0 insertions, 0 deletions