summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2025-08-18 13:55:43 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-21 10:29:56 +0100
commit02c8355a816788cb3aca133171214654d0b6d157 (patch)
tree9ddebce0abf2ea5a5a49180d6296ce4e7f2d9d11 /meta/lib
parenta1a8e1ee3e40799c4b506c9bc16bf2b3230c251d (diff)
downloadpoky-02c8355a816788cb3aca133171214654d0b6d157.tar.gz
spdx30_tasks: Change package license to declared
Per discussion with SPDX licensing group, the package license statements classify as declared licenses, not concluded licenses. Note that this is the same as a change made to the recipe licenses, just for packages. (From OE-Core rev: 61ba0ef1400a2fa3729473e496e8459cbbba73ad) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/spdx30_tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/spdx30_tasks.py b/meta/lib/oe/spdx30_tasks.py
index c352dab152..f2f133005d 100644
--- a/meta/lib/oe/spdx30_tasks.py
+++ b/meta/lib/oe/spdx30_tasks.py
@@ -696,7 +696,7 @@ def create_spdx(d):
696 696
697 pkg_objset.new_relationship( 697 pkg_objset.new_relationship(
698 [spdx_package], 698 [spdx_package],
699 oe.spdx30.RelationshipType.hasConcludedLicense, 699 oe.spdx30.RelationshipType.hasDeclaredLicense,
700 [oe.sbom30.get_element_link_id(package_spdx_license)], 700 [oe.sbom30.get_element_link_id(package_spdx_license)],
701 ) 701 )
702 702