| Summary: | No dependency SPDX for non-image recipe with sstate | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Gianluca Andreotti <Gianluca.Andreotti> |
| Component: | oe-core other | Assignee: | Joshua Watt <JPEWhacker> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | JPEWhacker, randy.macleod, ross.burton |
| Version: | unspecified | ||
| Target Milestone: | 6.99 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Gianluca Andreotti
2025-09-29 10:05:46 UTC
Joshua has a patch to generate the combined SPDX for a single recipe rather than an image. This should probably be opt-in rather than default. Quoting from Josh in private chat: "Ya that's expected behavior currently. The package spdx would only be pulled in by an image recipe currently" Two alternatives: 1) If separated SPDX files are acceptable then --runall is a good workaround, and the missing dependency to ensure that do_build causes do_create_spdx to run recursively is simple. 2) If the actual need is a combined SPDX (as you get with images currently), then Josh does have some WIP to allow this to happen for any recipe, not just images. Gianluca: are individual SPDX files acceptable, or would you prefer a combined SPDX? > Gianluca: are individual SPDX files acceptable, or would you prefer a combined SPDX?
A combined SPDX would be preferable.
|