mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
classes-recipe: nospdx: Add class
Adds a class that allows recipes to opt out of generating SPDX (From OE-Core rev: 170277da0dc34e3f797451473ebfbde82922f593) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
2603895931
commit
f72d264226
13
meta/classes-recipe/nospdx.bbclass
Normal file
13
meta/classes-recipe/nospdx.bbclass
Normal file
|
@ -0,0 +1,13 @@
|
|||
#
|
||||
# Copyright OpenEmbedded Contributors
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
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
|
|
@ -7,7 +7,7 @@ STANDALONE_SYSROOT_NATIVE = "${STAGING_DIR}/${BUILD_ARCH}"
|
|||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
EXCLUDE_FROM_WORLD = "1"
|
||||
|
||||
inherit nopackages
|
||||
inherit nopackages nospdx
|
||||
deltask fetch
|
||||
deltask unpack
|
||||
deltask patch
|
||||
|
@ -17,9 +17,6 @@ deltask configure
|
|||
deltask compile
|
||||
deltask install
|
||||
deltask populate_sysroot
|
||||
deltask create_spdx
|
||||
deltask collect_spdx_deps
|
||||
deltask create_runtime_spdx
|
||||
deltask recipe_qa
|
||||
|
||||
do_build_warn () {
|
||||
|
|
|
@ -27,14 +27,13 @@ python do_collect_packagedata() {
|
|||
oe.copy_buildsystem.generate_locked_sigs(sigfile, d)
|
||||
}
|
||||
|
||||
inherit nospdx
|
||||
deltask do_fetch
|
||||
deltask do_unpack
|
||||
deltask do_patch
|
||||
deltask do_configure
|
||||
deltask do_compile
|
||||
deltask do_install
|
||||
deltask do_create_spdx
|
||||
deltask do_create_spdx_runtime
|
||||
|
||||
do_prepare_recipe_sysroot[deptask] = ""
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user