[OE-core][PATCH 0/6] Add SPDX 3.0 support

Joshua Watt
2024-06-10T21:45:03Z

This patch series add support for SPDX 3.0. Currently it is not possible
to have SPDX 2.2 and SPDX 3.0 enabled at the same time; users may choose
to specifically use SPDX 3.0 instead of 2.2 by doing INHERIT +=
"create-spdx-3.0"

The default version is not changed yet, although that will likely happen
soon

Joshua Watt (6):
classes-recipe/image: Add image file manifest
classes/spdx-common: Move common SPDX to new class
classes/spdx-common: Add SPDX version to path
classes/spdx-common: Return empty list from extract_licenses
classes/create-spdx-3.0: Add class
classes-recipe/image_types: Add SPDX_IMAGE_PURPOSE to images

meta/classes-recipe/image.bbclass | 61 +
meta/classes-recipe/image_types.bbclass | 2 +
meta/classes-recipe/image_types_wic.bbclass | 1 +
meta/classes/create-spdx-2.2.bbclass | 261 +-
meta/classes/create-spdx-3.0.bbclass | 1284 +++++
meta/classes/spdx-common.bbclass | 280 +
meta/lib/oe/sbom30.py | 993 ++++
meta/lib/oe/spdx30.py | 5413 +++++++++++++++++++
8 files changed, 8046 insertions(+), 249 deletions(-)
create mode 100644 meta/classes/create-spdx-3.0.bbclass
create mode 100644 meta/classes/spdx-common.bbclass
create mode 100644 meta/lib/oe/sbom30.py
create mode 100644 meta/lib/oe/spdx30.py

--
2.43.2