The layer creates the SPDX for each recipe in task do_create_spdx and the SPDX for the final image is created in do_image_complete. When run the first time, the SPDX for all packages is not created when the combination task is done; for core-image-minimal the SPDX is missing for kernel-base and kernel-module-uvesafb-5.2.32-yocto-standard. Running the build again works as expected, with the SPDX for these found.
This should be fixed by setting do_create_spdx to happen before do_image, but this leads to an error of the image manifest file not found.
The layer creates the SPDX for each recipe in task do_create_spdx and the SPDX for the final image is created in do_image_complete. When run the first time, the SPDX for all packages is not created when the combination task is done; for core-image-minimal the SPDX is missing for
kernel-baseandkernel-module-uvesafb-5.2.32-yocto-standard. Running the build again works as expected, with the SPDX for these found.This should be fixed by setting do_create_spdx to happen before do_image, but this leads to an error of the image manifest file not found.