diff mbox series

[v8,8/9] ovmf: Allow empty SPDX deploy artifacts

Message ID 20261104153535.3184146-9-JPEWhacker@gmail.com
State Under Review
Headers show
Series Implement SPDX for deploy tasks | expand

Commit Message

Joshua Watt Nov. 4, 2026, 3:34 p.m. UTC
In native builds, ovfm do_deploy doesn't produce any artifacts. Set the
SPDX_DEPLOY_ALLOW_EMPTY flag to prevent SPDX from erroring when this
occurs.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 meta/recipes-core/ovmf/ovmf_git.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb
index bf69108f0a..7cc844dfa6 100644
--- a/meta/recipes-core/ovmf/ovmf_git.bb
+++ b/meta/recipes-core/ovmf/ovmf_git.bb
@@ -249,5 +249,6 @@  do_deploy:class-target() {
     fi
 }
 addtask do_deploy after do_compile before do_build
+SPDX_DEPLOY_ALLOW_EMPTY:task-deploy = "1"
 
 BBCLASSEXTEND = "native"