meta-openembedded/meta-networking
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
..
classes kernel_add_regdb: Change the task order 2023-01-11 17:56:42 -08:00
conf ot-br-posix: exclude siggen dependency on ipset 2023-09-20 22:15:39 -07:00
dynamic-layers/meta-python firewalld: upgrade 1.2.0 -> 1.3.2 2023-06-05 11:04:07 -07:00
files static-group: Match nogroup id to base-passwd from core. 2023-10-17 08:23:02 -04:00
licenses meta-networking/licenses/netperf: remove unused license 2023-04-28 06:59:50 -07:00
recipes-connectivity network-manager-applet,networkmanager-openvpn, networkmanager: Apply linker versioning patch when using lld only 2023-11-01 08:16:30 -04:00
recipes-core images: Rename <layer>-image to <layer>-image-all 2023-10-12 09:58:05 -04:00
recipes-daemons keepalived: 2.2.2 -> 2.2.8 2023-09-12 19:34:39 -07:00
recipes-devtools libcoap: upgrade 4.3.3 -> 4.3.4 2023-10-30 07:14:02 -04:00
recipes-extended dlm: Do not use -fcf-protection=full on aarch64 platforms 2023-07-21 09:39:09 -07:00
recipes-filter nftables: upgrade 1.0.8 -> 1.0.9 2023-10-30 07:14:03 -04:00
recipes-irc weechat: upgrade 4.0.3 -> 4.0.4 2023-08-26 17:32:45 -07:00
recipes-kernel/wireguard wireguard-tools: Add a new package for wg-quick 2022-08-22 14:13:37 -07:00
recipes-netkit netkit-telnet: Fix CVE-2022-39028 2023-09-22 07:36:16 -07:00
recipes-protocols open62541: add Backport status and link to patch 2023-10-12 09:58:06 -04:00
recipes-support mdio-tools: Add virtual/kernel dependency to avoid stale SPDX reference 2023-11-01 08:16:30 -04:00
COPYING.MIT meta-networking: add layer 2012-08-27 14:16:45 +02:00
MAINTAINERS meta-openemnedded: Add myself as nanbield maintainer 2023-09-25 11:39:20 -07:00
README.md meta-openemnedded: Add myself as nanbield maintainer 2023-09-25 11:39:20 -07:00

meta-networking

This layer is intended to be a central point for networking-related packages and configuration. It should be useful directly on top of oe-core and compliments meta-openembedded. It should be primarily useful to the following groups:

  - Anyone building a small networking device (eg. a home router /
    bridge / switch).

  - Anyone wanting to add network services to their device (eg.
    anything that might benefit from a small ftp/tftp server)

Dependencies

This layer depends on:

URI: git://git.openembedded.org/openembedded-core branch: nanbield

For some recipes, the meta-oe layer is required:

URI: git://git.openembedded.org/meta-openembedded subdirectory: meta-oe branch: nanbield

URI: git://git.openembedded.org/meta-openembedded subdirectory: meta-python branch: nanbield

Maintenance

Layer maintainers: Armin Kuster akuster808@gmail.com

Please see the MAINTAINERS file for information on contacting the maintainers of this layer, as well as instructions for submitting patches.