Message ID | 20241030050745.3702603-2-hongxu.jia@windriver.com |
---|---|
State | New |
Headers | show |
Series | Support SPDX include source for work-share directory | expand |
diff --git a/meta/lib/oe/sbom30.py b/meta/lib/oe/sbom30.py index 27ab5e45ac..8db90f30fd 100644 --- a/meta/lib/oe/sbom30.py +++ b/meta/lib/oe/sbom30.py @@ -577,9 +577,9 @@ class ObjectSet(oe.spdx30.SHACLObjectSet): re.sub(r"[^a-zA-Z0-9_-]", "_", license_expression), ] - license_text = ( + license_text = [ (k, license_text_map[k]) for k in sorted(license_text_map.keys()) - ) + ] if not license_text: lic = self.find_filter(