All of lore.kernel.org
 help / color / mirror / Atom feed
* [wrynose][PATCH 0/2] spdx30_tasks: fix missing content in the image and SDK SBOMs
@ 2026-11-28  0:50 Alexandre Marques
  2026-11-28  0:50 ` [wrynose][PATCH 1/2] spdx30_tasks: include the SDK target packages in the SDK SBOM Alexandre Marques
  2026-11-28  0:50 ` [wrynose][PATCH 2/2] spdx30_tasks: fix missing SPDX runtime dependencies Alexandre Marques
  0 siblings, 2 replies; 3+ messages in thread
From: Alexandre Marques @ 2026-11-28  0:50 UTC (permalink / raw)
  To: openembedded-core; +Cc: yoann.congal, Alexandre Marques

From: Alexandre Marques <alexandre.marques@ctw.bmwgroup.com>

Hi Yoann,

This series backports two SPDX 3.0 fixes from master to wrynose. Both
restore content that is currently missing from the generated SBOMs.

Patch 1 makes the SDK SBOM include the target sysroot packages. The
target and host parts of do_populate_sdk both write
sdk-rootfs.spdx.json and the host part overwrites the target one, so
on wrynose the SDK SBOM only lists the nativesdk packages.

Patch 2 fixes runtime dependsOn relationships between packages being
dropped. It needed a context adjustment because wrynose does not have
28ffcc0653 ("spdx: Reformat"); the change itself is identical to
master.

Tested on top of wrynose (16a03ed6c2) by building core-image-minimal
and its SDK for qemux86-64 with and without the series and comparing
the SBOMs:

  - SDK SBOM: 292 target packages, 20604 files and 105 vulnerabilities
    added
  - runtime dependsOn relationships: 86 -> 209 in the image SBOM,
    522 -> 1396 in the SDK SBOM
  - nothing removed, apart from the sdk-rootfs build being split into
    sdk-rootfs-host and sdk-rootfs-target

oe-selftest -r spdx passes.

Regards,
Alexandre

Pascal Eberhard (1):
  spdx30_tasks: fix missing SPDX runtime dependencies

Prasanth R (1):
  spdx30_tasks: include the SDK target packages in the SDK SBOM

 meta/lib/oe/spdx30_tasks.py | 56 ++++++++++++++++++++++---------------
 1 file changed, 34 insertions(+), 22 deletions(-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-28  0:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28  0:50 [wrynose][PATCH 0/2] spdx30_tasks: fix missing content in the image and SDK SBOMs Alexandre Marques
2026-11-28  0:50 ` [wrynose][PATCH 1/2] spdx30_tasks: include the SDK target packages in the SDK SBOM Alexandre Marques
2026-11-28  0:50 ` [wrynose][PATCH 2/2] spdx30_tasks: fix missing SPDX runtime dependencies Alexandre Marques

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.