mirror of
https://git.yoctoproject.org/poky
synced 2026-06-04 02:00:04 +00:00
create-spdx: add support for SDKs
Currently, SPDX SBOMs are only created for images. Add support for SDKs. (From OE-Core rev: c3acbb936a339636153903daf127eec9f36de79b) Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5083a80245
commit
e43a9d15ea
@@ -28,6 +28,10 @@ def get_image_spdxid(img):
|
||||
return "SPDXRef-Image-%s" % img
|
||||
|
||||
|
||||
def get_sdk_spdxid(sdk):
|
||||
return "SPDXRef-SDK-%s" % sdk
|
||||
|
||||
|
||||
def write_doc(d, spdx_doc, subdir, spdx_deploy=None):
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user