From e4a79c9a60893e2ec36ea4634ee52a0704185a60 Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Wed, 25 Jun 2025 16:29:16 -0600 Subject: [PATCH] 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. (From OE-Core rev: 561447c7cc1485366dbf41cfbf8dcc1cbf29d043) Signed-off-by: Joshua Watt Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- meta/lib/oe/spdx30_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/spdx30_tasks.py b/meta/lib/oe/spdx30_tasks.py index beeafc2bb7..5d9f3168d9 100644 --- a/meta/lib/oe/spdx30_tasks.py +++ b/meta/lib/oe/spdx30_tasks.py @@ -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)], )