]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
spdx30_tasks: Change recipe license to declared
authorJoshua Watt <jpewhacker@gmail.com>
Wed, 25 Jun 2025 22:29:16 +0000 (16:29 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jun 2025 14:28:41 +0000 (15:28 +0100)
Per discussion with the SPDX licensing group, recipe LICENSE statements
classify as a declared license, not a concluded license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/spdx30_tasks.py

index beeafc2bb7ca5c65e13b68b4c5f6affb8dd6f2ff..5d9f3168d97a5d722f844cbe2333bf2723664d2c 100644 (file)
@@ -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)],
     )