On Mon Oct 26, 2026 at 10:45 PM CET, Joshua Watt via lists.openembedded.org wrote: > he SPDX use case for file system image has been well defined since SPDX > was first implemented, however there has always been a desire to also > express SPDX output for other non-image deliverables (primarily, those > that have a do_deploy task or similar). These types of tasks cannot > easily use the traditional method of having a separate SPDX task that > runs to create their SPDX output as this causes lots of problems with > the way dependencies are specified. Instead, it is desirable for these > tasks to directly produce SPDX output that can be consumed by other > tasks that depend on them. > > This patch series adds support for this. Any sstate task that starts > with "do_deploy" can now be added to the SPDX_DEPLOY_TASKS list and it > will run a postfunc to generate SPDX output that describes what is being > deployed. For classical do_deploy tasks, this is setup to be easy by > automatically capturing all the deployed output files in the SPDX data, > but other tasks can be added as well. > > Finally, the do_create_image_spdx task is removed and replaced with a > SPDX deploy postfunc using this new system. This means that any task > that depends on do_image_complete will automatically also get the SPDX > output for the image, simplifying the dependency handling. >
Hi Joshua, Thanks for the new version. I believe this is the source of this warning: WARNING: core-image-full-cmdline-1.0-r0 do_create_image_sbom_spdx: The following SPDX IDs were unable to be resolved: http://spdxdocs.org/openembedded-alias/by-doc-hash/6e0461f8d0ebcd6cab741ff4175cb1256279c1657d809f71c257fb2a0991e7ca/eudev/UNIHASH/package/eudev https://autobuilder.yoctoproject.org/valkyrie/#/builders/22/builds/4908 Can you have a look at the issue? Thanks, Mathieu -- Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#248751): https://lists.openembedded.org/g/openembedded-core/message/248751 Mute This Topic: https://lists.openembedded.org/mt/121950650/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
