Unlocking SBoMs with Yocto and SPDX 3
summary
Yocto now emits a single JSON‑LD SPDX 3 document tying images, packages, native tools and recipe inputs to a SPDX 3 build element so builds can record timestamps, agents, nested builds and a build‑host relationship; vulnerability reporting is selectable as none / current / all and sources can be expanded to list file hashes and license scans. Tooling exists: spdx3-merge combines documents, shackle-to-code generates language bindings, and spdx3-validate checks schema/rdf (validation is slow and 3.0.1 has a known RDF bug; some patches are pending).
AI-written summary · about
chapters (18)
- 0:00Introduction and speaker background
- 1:10What is an SBOM and why it matters
- 3:40Yocto and BitBake build process overview
- 4:43Generating SPDX SBOMs with Yocto
- 5:29Key differences in SPDX 3
- 7:18New SPDX 3 features in Yocto
- 7:59Include build variables in SBOM
- 9:24Nested builds and hierarchy tracking
- 11:10SPDX IDs and imports in documents
- 12:36Recording build invokers and agents
- 14:39Linking build host to SBOM
- 15:20Package supplier and authors
- 17:07Configuring SPDX unique identifiers
- 18:35VEX-compliant vulnerability data
- 20:01Including source files in SBOM
- 21:10Tools for working with SPDX 3
- 23:17Standalone SPDX 3 tools overview
- 26:50Q&A and future considerations
