Go to file
Andrew Jeffery f6eb3b597a mdio-tools: Add virtual/kernel dependency to avoid stale SPDX reference
OpenBMC enables SPDX SBOM generation by default. For Meta's Bletchley
platform we found that mdio-tools and its relationships with both
mdio-netlink and the mdio-netlink kernel module break SPDX processing
while generating the rootfs after a kernel bump. For example, the
following output was generated by `bitbake obmc-phosphor-image`:

    ERROR: obmc-phosphor-image-1.0-r0 do_rootfs: Cannot find any SPDX file for document http://spdx.org/spdxdoc/kernel-module-mdio-netlink-6.5.4-da279e9-00089-gda279e98c07f-89187488-3164-50cb-94c5-8b76a30ea093

The error occurred after the following patch was applied (again, in the
context of OpenBMC):

    diff --git a/meta-aspeed/recipes-kernel/linux/linux-aspeed_git.bb b/meta-aspeed/recipes-kernel/linux/linux-aspeed_git.bb
    index e6f98297c540..b852e993f0f6 100644
    --- a/meta-aspeed/recipes-kernel/linux/linux-aspeed_git.bb
    +++ b/meta-aspeed/recipes-kernel/linux/linux-aspeed_git.bb
    @@ -1,6 +1,6 @@
     KBRANCH ?= "dev-6.5"
    -LINUX_VERSION ?= "6.5.4"
    +LINUX_VERSION ?= "6.5.9"

    -SRCREV="da279e98c07f9c948c60a434ab0043a55c26ea1d"
    +SRCREV="fc8d4fdba5bd2b9b1cea2aa8a731531943c45aa7"

     require linux-aspeed.inc

With the lack of a dependency the mdio-tools package is not rebuilt
subsequent to the kernel bump and the package information remains stale,
leading to an incorrect SPDX path being generated.

Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 668cf43b21)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-11-01 08:16:30 -04:00
contrib contrib: oe-stylize: Use Python3 explicitly 2023-06-04 22:29:46 -07:00
meta-filesystems Add static-passwd and static-group files 2023-10-12 09:58:06 -04:00
meta-gnome gnome-shell: Remove deprecated libcroco dependency 2023-11-01 08:16:30 -04:00
meta-initramfs klibc/klibc.inc : Add DEBUG_PREFIX_MAP flag. 2023-10-17 08:23:02 -04:00
meta-multimedia pipewire: Update 0.3.81 -> 0.3.83 2023-10-30 07:14:02 -04:00
meta-networking mdio-tools: Add virtual/kernel dependency to avoid stale SPDX reference 2023-11-01 08:16:30 -04:00
meta-oe openbox: Drop deprecated libcroco dependency 2023-11-01 08:16:30 -04:00
meta-perl meta-perl: Drop broken BBCLASSEXTEND variants 2023-11-01 08:16:30 -04:00
meta-python meta-python: Drop broken BBCLASSEXTEND variants 2023-11-01 08:16:30 -04:00
meta-webserver netdata: Upgrade 1.36.1 -> 1.43.0 2023-10-30 07:14:02 -04:00
meta-xfce meta-openemnedded: Add myself as nanbield maintainer 2023-09-25 11:39:20 -07:00
.gitignore
COPYING.MIT
README.md meta-openemnedded: Add myself as nanbield maintainer 2023-09-25 11:39:20 -07:00

Collection of layers for the OE-core universe

Main layer maintainer: Armin Kuster akuster808@gmail.com

This repository is a collection of layers to suppliment OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories