mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-18 14:51:49 -09:00
Commitdc4af8bfa9("utils/generate-cyclonedx: use direct dependencies") removes indirect dependencies from any listed component, as required by CycloneDX. The root component, however, still includes indirect dependencies, as it just takes the components from the show-info output. Fix this by collecting all component dependencies, and then filter the root component dependencies to include direct dependencies only. Signed-off-by: Martin Willi <martin@strongswan.org> Acked-By: Thomas Perale <thomas.perale@mind.be> Signed-off-by: Arnout Vandecappelle <arnout@rnout.be> (cherry picked from commitcc41cc3fcd) Signed-off-by: Thomas Perale <thomas.perale@mind.be>