Fix up SPDX deploy errors
PATCH 1/1 Fix up SPDX deploy errors
do_deploy tasks now generate SPDX output for files that are placed in the deploy directory; however SPDX must be told if it is expected that do_deploy will not produce any files by setting SPDX_DEPLOY_ALLOW_EMPTY:task-deploy = "1"
Several recipes in meta-virtualization have do_deploy tasks that may not produce any output, so mark these tasks to prevent them from generating errors.
--- classes/container-bundle.bbclass | 1 + classes/oci-multiarch.bbclass | 1 + recipes-extended/xen/xen-tools.inc | 1 + 3 files changed, 3 insertions(+)
classes/container-bundle.bbclass +1 -0
@@ -637,3 +637,4 @@ do_deploy[dirs] = "${DEPLOYDIR}" # Only add sstate for deploy when enabled SSTATE_SKIP_CREATION:task-deploy = "${@'' if d.getVar('CONTAINER_BUNDLE_DEPLOY') == '1' else '1'}" +SPDX_DEPLOY_ALLOW_EMPTY:task-deploy = "1"
classes/oci-multiarch.bbclass +1 -0
@@ -272,5 +272,6 @@ python do_deploy() { } addtask do_deploy after do_create_multiarch_index before do_build +SPDX_DEPLOY_ALLOW_EMPTY:task-deploy = "1" EXCLUDE_FROM_WORLD = "1"
recipes-extended/xen/xen-tools.inc +1 -0
@@ -954,3 +954,4 @@ do_deploy() { # - add the task before do_build to ensure that deployment has completed when # the recipe build done stamp is written addtask deploy after do_install do_populate_sysroot before do_build +SPDX_DEPLOY_ALLOW_EMPTY:task-deploy = "1"
Signature · 1 line
2.56.1
Bruce Ashfield
Appliedapplied to master-next.
Bruce
Quoted 64 lines · Joshua Watt via meta-virtualization
do_deploytasks now generate SPDX output for files that are placed in the deploy directory; however SPDX must be told if it is expected thatdo_deploywill not produce any files by setting SPDX_DEPLOY_ALLOW_EMPTY:task-deploy = "1"Several recipes in meta-virtualization have
do_deploytasks that may not produce any output, so mark these tasks to prevent them from generating errors.Signed-off-by Joshua Watt <[email protected]>--- classes/container-bundle.bbclass | 1 + classes/oci-multiarch.bbclass | 1 + recipes-extended/xen/xen-tools.inc | 1 + 3 files changed, 3 insertions(+)classes/container-bundle.bbclass +0
-0@@ -637,3 +637,4 @@ do_deploy[dirs] = "${DEPLOYDIR}" # Only add sstate for deploy when enabled SSTATE_SKIP_CREATION:task-deploy = "${@'' if
d.getVar('CONTAINER_BUNDLE_DEPLOY')== '1' else '1'}"classes/container-bundle.bbclass +1
-0+SPDX_DEPLOY_ALLOW_EMPTY:task-deploy = "1"classes/oci-multiarch.bbclass +1
-0@@ -272,5 +272,6 @@ python do_deploy() { } addtask do_deploy after do_create_multiarch_index before do_build +SPDX_DEPLOY_ALLOW_EMPTY:task-deploy = "1" EXCLUDE_FROM_WORLD = "1"recipes-extended/xen/xen-tools.inc +0
-0@@ -954,3 +954,4 @@ do_deploy() { # - add the task before do_build to ensure that deployment has completedwhen
# the recipe build done stamp is written
addtask deploy afterdo_installdo_populate_sysrootbeforedo_build
+SPDX_DEPLOY_ALLOW_EMPTY:task-deploy = "1"
--
2.56.1-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#10166):
https://lists.yoctoproject.org/g/meta-virtualization/message/10166
Mute This Topic: https://lists.yoctoproject.org/mt/122231710/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II