IMGDEPLOYDIR is not populated when the artifacts comes from sstate-cache. Instead of the task input, we should use the output because the input is not guaranteed to remain in the file system. For example, `rm_work` also deletes the IMGDEPLOYDIR file.
Signed-off-by: Jose Quaresma <[email protected]> --- meta/lib/oe/spdx30_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/spdx30_tasks.py b/meta/lib/oe/spdx30_tasks.py index 79e18db11d..52255108a6 100644 --- a/meta/lib/oe/spdx30_tasks.py +++ b/meta/lib/oe/spdx30_tasks.py @@ -1435,7 +1435,7 @@ def create_rootfs_spdx(d): def create_image_spdx(d): import oe.sbom30 - image_deploy_dir = Path(d.getVar("IMGDEPLOYDIR")) + image_deploy_dir = Path(d.getVar("DEPLOY_DIR_IMAGE")) manifest_path = Path(d.getVar("IMAGE_OUTPUT_MANIFEST")) spdx_work_dir = Path(d.getVar("SPDXIMAGEWORK")) -- 2.55.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240660): https://lists.openembedded.org/g/openembedded-core/message/240660 Mute This Topic: https://lists.openembedded.org/mt/120209270/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
