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 <[email protected]>
---
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 <[email protected]>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#243112): 
https://lists.openembedded.org/g/openembedded-core/message/243112
Mute This Topic: https://lists.openembedded.org/mt/120681380/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to