summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2024-12-03 15:37:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-12-05 17:07:10 +0000
commiteda4a8bc21a3eafa557f85dc625c58959b262508 (patch)
treed96e11e87bab05995b7f421f3e1785a5f3c08884 /meta/lib/oe
parentdfb279f49ed40fe8a1ad0df767d965f0373abed8 (diff)
downloadpoky-eda4a8bc21a3eafa557f85dc625c58959b262508.tar.gz
lib: spdx: Fix SPDX_BUILD_HOST
The call to make a new import for the SPDX_BUILD_HOST was incorrect, since it was asking for the key named "SPDX_BUILD_HOST", instead of the key name contained in that variable (From OE-Core rev: 250c2bcc557040b4cd67cecf25f8351638cff45d) 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/oe')
-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 30f1a3a166..3d7035909f 100644
--- a/meta/lib/oe/spdx30_tasks.py
+++ b/meta/lib/oe/spdx30_tasks.py
@@ -908,7 +908,7 @@ def write_bitbake_spdx(d):
908 [build], 908 [build],
909 oe.spdx30.RelationshipType.hasHost, 909 oe.spdx30.RelationshipType.hasHost,
910 oe.spdx30.LifecycleScopeType.build, 910 oe.spdx30.LifecycleScopeType.build,
911 [objset.new_import("SPDX_BUILD_HOST")], 911 [objset.new_import(host_import_key)],
912 ) 912 )
913 913
914 if invoked_by: 914 if invoked_by: