Skip to contentSkip to conversation

spdx30_tasks: Change recipe license to declared

PATCH In review Joshua Watt 2 participants 4 messages Jun 25, 2025 – Jul 30, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spdx30_tasks: Change recipe license to declared

Per discussion with the SPDX licensing group, recipe LICENSE statements classify as a declared license, not a concluded license.

---
 meta/lib/oe/spdx30_tasks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oe/spdx30_tasks.py +1 -1
index beeafc2bb7c..5d9f3168d97 100644
@@ -552,7 +552,7 @@ def create_spdx(d):
     )
     build_objset.new_relationship(
         source_files,
-        oe.spdx30.RelationshipType.hasConcludedLicense,
+        oe.spdx30.RelationshipType.hasDeclaredLicense,
         [oe.sbom30.get_element_link_id(recipe_spdx_license)],
     )
 
Signature · 1 line
2.49.0
#1 lore raw

Looks like this might have gotten missed?

Quoted 25 lines · Joshua Watt

Per discussion with the SPDX licensing group, recipe LICENSE statements classify as a declared license, not a concluded license.

---
 meta/lib/oe/spdx30_tasks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oe/spdx30_tasks.py +1 -2
index beeafc2bb7c..5d9f3168d97 100644
@@ -552,7 +552,7 @@ def create_spdx(d):
     )
     build_objset.new_relationship(
         source_files,
-        oe.spdx30.RelationshipType.hasConcludedLicense,
+        oe.spdx30.RelationshipType.hasDeclaredLicense,
         [oe.sbom30.get_element_link_id(recipe_spdx_license)],
     )
 
--

2.49.0