Skip to content

Commit

Permalink
no-spdx: remove more tasks
Browse files Browse the repository at this point in the history
as we apparently can't disable spdx creation through the new
nospdx class, we are migrating over the task deletes from
there to our class, which can be inherited globally
  • Loading branch information
priv-kweihmann committed Jul 21, 2024
1 parent e959a0d commit d49e93e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions classes/no-spdx.bbclass
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## SPDX-License-Identifier: BSD-2-Clause
## Copyright (c) 2023, Konrad Weihmann

# This disables creating expensive SBOMs
# which just consume space and don't serve
# any purpose for our test distro

do_create_spdx_setscene[noexec] = "1"
deltask do_collect_spdx_deps
deltask do_create_spdx
deltask do_create_spdx_runtime
deltask do_create_package_spdx
deltask do_create_rootfs_spdx
deltask do_create_image_spdx
deltask do_create_image_sbom

ROOTFS_POSTUNINSTALL_COMMAND:remove = "image_combine_spdx"
2 changes: 1 addition & 1 deletion conf/distro/scatest.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ INHERIT += "rm_work"
INHERIT += "no-native-pycache"

# Disable SPDX
INHERIT += "nospdx"
INHERIT += "no-spdx"

0 comments on commit d49e93e

Please sign in to comment.