1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

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>
This commit is contained in:
Joshua Watt
2024-12-03 15:37:09 -07:00
committed by Richard Purdie
parent dfb279f49e
commit eda4a8bc21
+1 -1
View File
@@ -908,7 +908,7 @@ def write_bitbake_spdx(d):
[build],
oe.spdx30.RelationshipType.hasHost,
oe.spdx30.LifecycleScopeType.build,
[objset.new_import("SPDX_BUILD_HOST")],
[objset.new_import(host_import_key)],
)
if invoked_by: