poky/meta/classes
Jose Quaresma aedcbcaae1 create-spdx-3.0: add SPDX_LICENSES to SPDX3_DEP_FILES
If we have changes on SPDX_LICENSES content we ended up building invalid sstate-cache archives.
The default value for the SPDX_LICENSES is the file meta/files/spdx-licenses.json but this file
don't use the bitbake fetcher and because of this their checksum is not validated.
So we need to add this file to the build dependency chain of the SPDX.

For example, currently we have bump from 3.24.0 to 3.27.0 on master-next for the file
meta/files/spdx-licenses.json. Since the file content is not taken into account, we end
up creating invalid sstate-cache artifacts on the autobuilder on master-next builds.
This created sstate-cache artifacts will also be available to master branch users
that are using the upstream sstate-cache mirror.

If someone is using the public mirror but still following the master branch
they will encounter something like the following error which this change aims to resolve.

| ERROR: initramfs-rootfs-image-1.0-r0 do_create_image_sbom_spdx: http://spdxdocs.org/openembedded-alias/by-doc-hash/57301e8063a8bf25308226271627db2b78675cda9f648c5c6c14a2b9c18f48dc/zlib/UNIHASH/license/3_27_0/Zlib not found in /work/build/tmp/deploy/spdx/3.0.1/armv8a/by-spdxid-hash/57/57301e8063a8bf25308226271627db2b78675cda9f648c5c6c14a2b9c18f48dc.spdx.json

(From OE-Core rev: 10669f6f615058293671fb16454601580b7b34e9)

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
..
toolchain classes/toolchain/clang: depend on llvm-native for tools, not clang 2025-10-09 10:58:07 +01:00
archiver.bbclass bitbake.conf/pseudo: Switch from exclusion list to inclusion list 2025-05-12 22:01:56 +01:00
buildhistory.bbclass buildhistory: Drop BUILDHISTORY_RESET due to reliability issues 2025-06-24 13:53:23 +01:00
buildstats-summary.bbclass
ccache.bbclass ccache: do not use ccache if it is explicitly forbidden 2025-08-11 18:04:25 +01:00
ccmake.bbclass
chrpath.bbclass
copyleft_compliance.bbclass
copyleft_filter.bbclass
create-spdx-2.2.bbclass create-spdx-2.2: support to override the version of a package in SPDX 2 2025-07-01 08:49:37 +01:00
create-spdx-3.0.bbclass create-spdx-3.0: add SPDX_LICENSES to SPDX3_DEP_FILES 2025-10-27 11:37:43 +00:00
create-spdx.bbclass Switch default spdx version to 3.0 2024-07-16 15:00:59 +01:00
cve-check.bbclass cve-check: fix debug message 2025-05-01 14:22:54 +01:00
devtool-source.bbclass recipetool/devtool: calculate source paths relative to UNPACKDIR 2025-06-20 12:07:26 +01:00
distrooverrides.bbclass
externalsrc.bbclass externalsrc: Always ask Git for location of .git directory 2025-07-07 22:12:50 +01:00
extrausers.bbclass
go-vendor.bbclass classes: go-vendor: Change symlink creation. 2025-01-27 15:47:09 +00:00
image-buildinfo.bbclass
mcextend.bbclass
metadata_scm.bbclass
multilib_global.bbclass classes/lib: Switch classextend to use new filter API 2025-08-12 10:05:11 +01:00
multilib.bbclass multilib.bbclass: Filter ROOTFS_RO_UNNEEDED to fix uninstallation 2025-10-27 11:37:43 +00:00
oelint.bbclass
own-mirrors.bbclass
prexport.bbclass
primport.bbclass
recipe_sanity.bbclass
relative_symlinks.bbclass
relocatable.bbclass
remove-libtool.bbclass
report-error.bbclass report-error: Add PN to error report file 2024-12-28 10:57:00 +00:00
rm_work_and_downloads.bbclass
rm_work.bbclass
sign_ipk.bbclass
sign_package_feed.bbclass
sign_rpm.bbclass sign_rpm.bbclass: fix variable assignment whitespace 2025-04-24 11:27:06 +01:00
spdx-common.bbclass spdx: add option to include only compiled sources 2025-06-17 23:38:18 +01:00
terminal.bbclass
toaster.bbclass toaster.bbclass: fix toaster error caused by tabs in BBLAYERS 2025-06-16 17:57:29 +01:00
typecheck.bbclass
useradd_base.bbclass
useradd-staticids.bbclass
useradd.bbclass
vex.bbclass vex: fix rootfs manifest 2025-05-08 10:28:18 +01:00