A target takes a new artifact kind, build_output: a Yocto image's SPDX
archive (<image>.spdx.tar.zst), read with pipeline::yocto_spdx (#852).
The scan joins what the build installed with the recipe inventory of
the layer tree (pipeline::yocto_build):
- by recipe name, since the tree's PV and the built version differ
(busybox 1.35.0 in the layer, 1.36.1 built): the build's version, CPE,
licence and InImageBasis::Built win, both evidence lines stay;
- an image the SPDX covers is authoritative: a recipe declared in it but
not installed loses that marking; declarations for other images stay;
- recipes only the build lists are added;
- NVD is asked with the built version and CPE, one query per recipe;
- a CVE the build's patches fixed (create-spdx "CVEs fixed") is stated
fixed; otherwise the recipe's CVE_STATUS applies, joined by name.
An archive that cannot be read, and packages listed without their
documents, are noted on the run (build_spdx; new informational
SkipCode::BuildPackagesUnresolved). The classifier takes an image SPDX
archive as Yocto evidence. The SBOM page's in-image tooltip now says
how the marking is known (declared in the recipes, or installed by the
build).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>