All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] package: improve save_debugsources_info()
@ 2026-08-10  7:11 Benjamin Robin
  2026-08-10  7:11 ` [PATCH 1/2] package: Fix source info when PACKAGE_DEBUG_STATIC_SPLIT is set Benjamin Robin
  2026-08-10  7:11 ` [PATCH 2/2] package: fix source path in save_debugsources_info() Benjamin Robin
  0 siblings, 2 replies; 8+ messages in thread
From: Benjamin Robin @ 2026-08-10  7:11 UTC (permalink / raw)
  To: openembedded-core
  Cc: jpewhacker, antonin.godard, mathieu.dubois-briand,
	thomas.petazzoni, daniel.turull, Benjamin Robin

The overall goal of this series is to fix SPDX SBoM generation in such a way
that it correctly includes compiled sources for "normal" recipes (a recipe
which does not inherit the kernel class).

This was tested with the busybox recipe. The following command list the
effective list of compiled sources.

python3 -m json.tool \
  tmp/deploy/spdx/3.0.1/cortexa15t2hf-neon/builds/build-busybox.spdx.json | \
  grep -F '.c"'

This is the same list as the extracted sources from the debug symbol:

zstdcat tmp/pkgdata/qemuarm/debugsources/busybox-debugsources.json.zstd | \
  python3 -m json.tool

Signed-off-by: Benjamin Robin <benjamin.robin@bootlin.com>
---
Benjamin Robin (2):
      package: Fix source info when PACKAGE_DEBUG_STATIC_SPLIT is set
      package: fix source path in save_debugsources_info()

 meta/lib/oe/package.py | 79 ++++++++++++++++++++++++++++++++------------------
 1 file changed, 51 insertions(+), 28 deletions(-)
---
base-commit: 20f678d825d1b8a1e8bfa88dedd51eb628c96d51
change-id: 20260810-fix-save-debugsources-info-b8d0ac4ea206

Best regards,
--  
Benjamin Robin <benjamin.robin@bootlin.com>



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

end of thread, other threads:[~2026-08-16 12:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-10  7:11 [PATCH 0/2] package: improve save_debugsources_info() Benjamin Robin
2026-08-10  7:11 ` [PATCH 1/2] package: Fix source info when PACKAGE_DEBUG_STATIC_SPLIT is set Benjamin Robin
2026-08-10  7:11 ` [PATCH 2/2] package: fix source path in save_debugsources_info() Benjamin Robin
2026-08-16 10:46   ` Paul Barker
2026-08-16 11:12     ` Benjamin Robin
2026-08-16 11:25       ` Benjamin Robin
2026-08-16 11:37         ` Paul Barker
2026-08-16 12:19           ` Benjamin Robin

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.