Skip to content
Commit 079aba1a authored by Richard Purdie's avatar Richard Purdie Committed by Anuj Mittal
Browse files

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.

Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf1b467d)
Signed-off-by: default avatarAnuj Mittal <anuj.mittal@intel.com>
parent cbbdb533
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment