All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Marques <c137.marques@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: yoann.congal@smile.fr,
	Alexandre Marques <alexandre.marques@ctw.bmwgroup.com>
Subject: [wrynose][PATCH 0/2] spdx30_tasks: fix missing content in the image and SDK SBOMs
Date: Sat, 28 Nov 2026 00:50:07 +0000	[thread overview]
Message-ID: <20261128005009.4101905-1-c137.marques@gmail.com> (raw)

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(-)


             reply	other threads:[~2026-11-28  0:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28  0:50 Alexandre Marques [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261128005009.4101905-1-c137.marques@gmail.com \
    --to=c137.marques@gmail.com \
    --cc=alexandre.marques@ctw.bmwgroup.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=yoann.congal@smile.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.