Skip to content

Fix SPDX_INCLUDE_COMPILED_SOURCES in SPDX3

João Marcos Costa openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1meta/lib/oe/package.py: fix path to kernel sources in save_debugsources_infometa/classes/create-spdx-2.2.bbclass meta/lib/oe/package.py+3 -30 replies

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by.

PatchBenjamin Robin (Schneider Electric)
1/1Co-authored-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [scarthgap][PATCH 0/1] Fix SPDX_INCLUDE_COMPILED_SOURCES in SPDX3

From: João Marcos Costa (Schneider Electric) <[email protected]>

Hello,

Currently, a SPDX3 SBoM including the compiled sources [1] is incomplete due to a path mismatch between what is provided by package.py and what is expected by SPDX3 (spdx30_tasks.py, spdx_common.py). Example:

- package.py provides: "linux-yocto-6.6.123+git-r0/drivers/base/soc.c"

- SPDX3 expects: "linux-yocto-6.6.127+git/drivers/base/soc.c"

This patch fixes this mismatch, and ensures the SPDX v2.2 code is changed accordingly.

Best regards,

[1] SPDX_INCLUDE_COMPILED_SOURCES:pn-linux-yocto = "1"

João Marcos Costa (Schneider Electric) (1):
meta/lib/oe/package.py: fix path to kernel sources in
save_debugsources_info

 meta/classes/create-spdx-2.2.bbclass | 2 +-
 meta/lib/oe/package.py               | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.47.0