mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
lib: spdx30_tasks: Fix supplied By
Fixes the supplied by property in SPDX to use the correct name (From OE-Core rev: a33fb425262492f5e8f6cc5e7ec2adf072042817) 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:
committed by
Richard Purdie
parent
d79a5c051e
commit
8bc93605d5
@@ -596,7 +596,7 @@ def create_spdx(d):
|
||||
|
||||
supplier = build_objset.new_agent("SPDX_PACKAGE_SUPPLIER")
|
||||
if supplier is not None:
|
||||
spdx_package.supplier = (
|
||||
spdx_package.suppliedBy = (
|
||||
supplier if isinstance(supplier, str) else supplier._id
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user