bodnuti
Deterministic checks of Yocto Project & OpenEmbedded patches.
[OE-core][PATCH v6 0/7] Implement SPDX for deploy tasks
- List
- openembedded-core
- Thread
- lore
- Author
- Joshua Watt
- Last message
- 2026-10-27 22:49
- Result
- 12 findings ยท 4 style findings
- Checked against
- openembedded-core master
- Base
fa83da7da277- AutoBuilder
- 1 build: 0 passed, 0 with warnings, 0 failed
[OE-core][PATCH v6 1/7] spdx: Skip dependencies that are not in the taskhash
[OE-core][PATCH v6 2/7] spdx: Add ability for deploy tasks to create SPDX
[OE-core][PATCH v6 3/7] oeqa: Add SPDX deploy SBoM test
[OE-core][PATCH v6 4/7] classes-global/sstate: Keep SPDX generating setscene dependencies
[OE-core][PATCH v6 5/7] classes-recipe/deploy: Add do_deploy to SPDX_DEPLOY_TASKS
warning oelint
oelint.vars.mispell.unknown meta/classes-recipe/deploy.bbclass:96 7DEPLOYDIR = "${WORKDIR}/deploy-${PN}" 8SSTATETASKS += "do_deploy" 9SPDX_DEPLOY_TASKS += "do_deploy"10SPDX_DEPLOY_ARTIFACTS_DIR:task-deploy = "${DEPLOYDIR}"11do_deploy[sstate-inputdirs] = "${DEPLOYDIR}"12do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}"
warning oelint
oelint.vars.mispell.unknown meta/classes-recipe/deploy.bbclass:107DEPLOYDIR = "${WORKDIR}/deploy-${PN}" 8SSTATETASKS += "do_deploy" 9SPDX_DEPLOY_TASKS += "do_deploy"10SPDX_DEPLOY_ARTIFACTS_DIR:task-deploy = "${DEPLOYDIR}"11do_deploy[sstate-inputdirs] = "${DEPLOYDIR}"12do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}"13
[OE-core][PATCH v6 6/7] spdx: Replace do_create_image_spdx with deploy task
warning oelint
oelint.vars.mispell.unknown meta/classes-recipe/create-spdx-image-3.0.bbclass:555253 oe.spdx30_tasks.create_image_spdx(d, spdxdeploydir)54}55oe.spdx30_tasks.create_image_spdx[vardeps] += "SPDX_IMAGE_PURPOSE"56SPDX_DEPLOY_TASKS += "do_image_complete:create_image_spdx"57# No deploy sbom is needed since do_create_image_sbom_spdx() is used instead58SPDX_DEPLOY_SBOM = "0"
warning oelint
oelint.vars.mispell.unknown meta/classes-recipe/create-spdx-image-3.0.bbclass:5653 oe.spdx30_tasks.create_image_spdx(d, spdxdeploydir)54}55oe.spdx30_tasks.create_image_spdx[vardeps] += "SPDX_IMAGE_PURPOSE"56SPDX_DEPLOY_TASKS += "do_image_complete:create_image_spdx"57# No deploy sbom is needed since do_create_image_sbom_spdx() is used instead58SPDX_DEPLOY_SBOM = "0"59
warning oelint
oelint.vars.mispell.unknown meta/classes-recipe/create-spdx-image-3.0.bbclass:5855oe.spdx30_tasks.create_image_spdx[vardeps] += "SPDX_IMAGE_PURPOSE"56SPDX_DEPLOY_TASKS += "do_image_complete:create_image_spdx"57# No deploy sbom is needed since do_create_image_sbom_spdx() is used instead58SPDX_DEPLOY_SBOM = "0"5960python do_create_image_sbom_spdx() {61 import oe.spdx30_tasks
warning oelint
oelint.vars.mispell meta/classes/create-spdx-3.0.bbclass:192189 If the recipe already has another task to create an SBoM, this should be \190 set to '0' to prevent multiple SBoMs from being created."191192SPDX_DEPLOY_SBOM_NAME ?= "${PN}-deploy-sbom"193SPDX_DEPLOY_SBOM_NAME[doc] = "The name of the output deploy SBoM when using \194 create_deploy_sbom"195
warning oelint
oelint.vars.mispell meta/classes/create-spdx-3.0.bbclass:193190 set to '0' to prevent multiple SBoMs from being created."191192SPDX_DEPLOY_SBOM_NAME ?= "${PN}-deploy-sbom"193SPDX_DEPLOY_SBOM_NAME[doc] = "The name of the output deploy SBoM when using \194 create_deploy_sbom"195196SPDX_DEPLOY_ARTIFACTS = "AUTO"
warning oelint
oelint.vars.mispell.unknown meta/classes/create-spdx-3.0.bbclass:197194 create_deploy_sbom"195196SPDX_DEPLOY_ARTIFACTS = "AUTO"197SPDX_DEPLOY_ARITFACTS[doc] = "A space separated list of deployed artifacts, \198 relative to SPDX_DEPLOY_ARTIFACTS_DIR that should be included in the SBoM. \199 If 'AUTO' (the default), all files in SPDX_DEPLOY_ARITFACTS_DIR will be \200 added. A :task- override *must* be used to set this value so that it is \
warning oelint
oelint.vars.mispell.unknown meta/classes/create-spdx-3.0.bbclass:355352353 oe.spdx30_tasks.create_deploy_spdx(d, spdxdeploydir, artifactsdir, artifacts)354}355oe.spdx30_tasks.find_build_dep_objsets[vardepsexclude] += "BB_TASKDEPDATA"356357python () {358 # Most recipes generate SPDX output in a distinct task from the task that
warning oelint
oelint.task.noanonpython meta/classes/create-spdx-3.0.bbclass:357354}355oe.spdx30_tasks.find_build_dep_objsets[vardepsexclude] += "BB_TASKDEPDATA"356357python () {358 # Most recipes generate SPDX output in a distinct task from the task that359 # actually is the relevant dependency. As such, we need to map the task360 # that we care about to the task that generates the corresponding SPDX
warning oelint
oelint.vars.mispell.unknown meta/classes/create-spdx-3.0.bbclass:473470 sstate_setscene(d)471}472addtask do_create_deploy_sbom_setscene473SSTATE_SKIP_CREATION:task-create-deploy-sbom = "1"
warning oelint
oelint.vars.mispell meta/classes/spdx-common.bbclass:2825SPDXRECIPEDEPLOY = "${SPDXDIR}/recipe-deploy"26SPDXRUNTIMEDEPLOY = "${SPDXDIR}/runtime-deploy"27SPDXRECIPESBOMDEPLOY = "${SPDXDIR}/recipes-bom-deploy"28SPDXDEPLOYSBOMDEPLOY = "${SPDXDIR}/deploy-bom-deploy"2930SPDX_INCLUDE_SOURCES ??= "0"31SPDX_INCLUDE_SOURCES[doc] = "If set to '1', include source code files in the \
Show 4 style findings
info oelint
oelint.task.docstrings meta/classes-recipe/create-spdx-image-3.0.bbclass:4643}44addtask do_create_rootfs_spdx_setscene4546python create_image_spdx() {47 import oe.spdx30_tasks48 from pathlib import Path49 current_task = "do_" + d.getVar("BB_CURRENTTASK")
info oelint
oelint.task.docstrings meta/classes/create-spdx-3.0.bbclass:339336addhandler spdx30_build_started_handler337spdx30_build_started_handler[eventmask] = "bb.event.BuildStarted"338339python create_deploy_spdx() {340 import oe.spdx30_tasks341 from pathlib import Path342 current_task = "do_" + d.getVar("BB_CURRENTTASK")
info oelint
oelint.task.docstrings meta/classes/create-spdx-3.0.bbclass:450447 bb.build.addtask("do_create_deploy_sbom", "do_build", " ".join(deploy_sbom_tasks), d)448}449450python do_create_deploy_sbom() {451 import oe.spdx30_tasks452 from pathlib import Path453 deploydir = Path(d.getVar("SPDXDEPLOYSBOMDEPLOY"))
info oelint
oelint.task.docstrings meta/classes/create-spdx-3.0.bbclass:469466do_create_deploy_sbom[file-checksums] += "${SPDX3_DEP_FILES}"467468SSTATETASKS += "do_create_deploy_sbom"469python do_create_deploy_sbom_setscene() {470 sstate_setscene(d)471}472addtask do_create_deploy_sbom_setscene
[OE-core][PATCH v6 7/7] layer.conf: Fix initramfs-framework not knowing which udev it has
patchtest: 70 pass, 0 fail, 35 skip
AutoBuilder
Builds of staging branches that carried this series. Each builds every patch on the branch; a failure is shown as this series' only when it is in a recipe the series changes, or two builds failed so newly carrying it.
- 2026-10-28 12:03 a-full 5014
mathieu/master-next: cancelled (patches 7, 5, with 33 series on the branch)- musl-qemux86-64
meta/recipes-core/ovmf/ovmf_git.bb:do_deploy: on the branch - qemux86-world-alt
meta/recipes-core/ovmf/ovmf_git.bb:do_deploy: on the branch - no-x11
meta/recipes-core/ovmf/ovmf_git.bb:do_deploy: on the branch - no-x11
meta/recipes-core/ovmf/ovmf_git.bb:do_deploy: failed newly with this series in two builds - check-layer Run cmds: on the branch
- check-layer Run cmds_2: on the branch
- oe-selftest-debian
meta/recipes-kernel/linux/linux-dummy.bb:do_deploy: on the branch - reproducible Reproducible Selftest: Run cmds: on the branch
- meta-intel
meta/recipes-core/ovmf/ovmf_git.bb:do_deploy: on the branch - oe-selftest-fedora Bitbake Selftest: Run cmds: on the branch
- oe-selftest-fedora
meta/recipes-kernel/linux/linux-dummy.bb:do_deploy: on the branch - qemux86-world
meta/recipes-core/ovmf/ovmf_git.bb:do_deploy: on the branch - meta-virt Xen for qemux86-64: Build targets: on the branch
- meta-virt Xen for qemuarm64: Build targets: on the branch
- musl-qemux86-64