mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 12:00:48 -09:00
utils/generate-cyclonedx: sort dependencies
The SBOM is easier to read if the dependencies are sorted alphabetically. Signed-off-by: Fabien Lehoussel <fabien.lehoussel@smile.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
1c7948af33
commit
4b15707056
@@ -205,7 +205,7 @@ def cyclonedx_dependency(ref, depends):
|
||||
"""
|
||||
return {
|
||||
"ref": ref,
|
||||
"dependsOn": depends,
|
||||
"dependsOn": sorted(depends),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user