fix(sbom): a component the build installed is badged "Im Image (gebaut)"
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m18s
CI / Check (pull_request) Successful in 16m46s

The SBOM view gave every in-image component the badge "Im Image
(deklariert)", also those the build's image SPDX lists; only the tooltip
told them apart. The badge now names how it is known: "Im Image
(deklariert)" from the image recipes, "Im Image (gebaut)" from the build.
The filter, which takes both, reads "Im Image" with a tooltip saying so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sharang ParnerkarandClaude Opus 5.5 committed 2026-11-05 09:13:09 +01:00
1 parent 01a24f4556
commit 26c2f396cb
3 files changed
+32 -14

No files matched your search

+4 -2
View File
@@ -278,7 +278,8 @@ the tree (with none, the component names the configuration file instead).
**Where it shows.** A badge **Im Image (deklariert)** next to the component in
the SBOM view, whose tooltip names the images and says it is read from the
recipes, not resolved by bitbake; a filter of the same name; and the SBOM list
recipes, not resolved by bitbake; the filter **Im Image** (*In the image*),
which also takes the components the build installed; and the SBOM list
puts these components first. The component's evidence line names the images,
the CycloneDX export carries the property `pruefwerk:component:in_image`
(`declared: pump-image`), and the SPDX export adds it to the package `comment`.
@@ -322,7 +323,8 @@ wizard or under **Datei hinzufügen** on the target:
**What the SPDX gives.** One component per recipe that has packages in the image
(BusyBox's `busybox`, `busybox-syslog` and `busybox-udhcpc` are one component),
with the version the build used, the declared licence and the CPE. These carry
the badge **Im Image** with the tooltip *installed by the build*. They are joined
the badge **Im Image (gebaut)** (*In the image (built)*), whose tooltip says the
build installed them. They are joined
with the recipe inventory by recipe name: the version the build used wins over the
`PV` in the tree (`busybox_1.35.0.bb` in the layer, 1.36.1 built), and both
evidence lines stay. For an image the SPDX covers, a recipe the image recipes