mbox series

[v5,0/3] spdx3: Add optional support for exporting build-time configuration metadata

Message ID 20251208094929.46495-1-kamel.bouhara@bootlin.com
Headers show
Series spdx3: Add optional support for exporting build-time configuration metadata | expand

Message

Kamel Bouhara Dec. 8, 2025, 9:49 a.m. UTC
From: "Kamel Bouhara (Schneider Electric)" <kamel.bouhara@bootlin.com>

Hello,

This v5 addresses feedback from the previous iteration and includes the
following changes since v4:

  - Rebased on current master
  - Fixed test_packageconfig_spdx to explicitly inherit the create-spdx
    class, ensuring the test runs correctly
  - Tested with `oe-selftest -r spdx`

The series adds optional support for exporting build-time configuration
metadata to SPDX 3.0 documents:

  - Kernel configuration export via SPDX_INCLUDE_KERNEL_CONFIG
  - PACKAGECONFIG feature export via SPDX_INCLUDE_PACKAGECONFIG
  - Selftests for both features

For full context about this series, please see [1].

[1] https://lists.openembedded.org/g/openembedded-core/message/222245

Kamel Bouhara (Schneider Electric) (3):
  kernel.bbclass: Add task to export kernel configuration to SPDX
  spdx30_tasks: Add support for exporting PACKAGECONFIG to SPDX
  oeqa/selftest: oe-selftest: Add SPDX tests for kernel config and
    PACKAGECONFIG

 meta/classes-recipe/kernel.bbclass   | 64 ++++++++++++++++++++++++++++
 meta/classes/create-spdx-3.0.bbclass | 11 +++++
 meta/lib/oe/spdx30_tasks.py          | 20 +++++++++
 meta/lib/oeqa/selftest/cases/spdx.py | 58 +++++++++++++++++++++++++
 4 files changed, 153 insertions(+)

--
2.43.0