Re: [oe] [meta-networking] [PATCH v2 2/2] mctp: upgrade 2.5 -> 2.6

Khem Raj <[email protected]>
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <CAMKF1spFhNG6n64S8YmpifH3c3EnPRVCkGORZ1dyWdaXS9m4+g@mail.gmail.com>
this has to be made specific to systemd distros alone otherwise we endup
with

Consider defining a PREFERRED_PROVIDER entry to match virtual/freeglut
ERROR: Nothing PROVIDES 'systemd' (but
/srv/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-networking/recipes-support/mctp/mctpd_2.6.bb
DEPENDS on or otherwise requires it)
systemd was skipped: using DISTRO 'poky', which is missing required
DISTRO_FEATURES: 'usrmerge systemd'
NOTE: Multiple providers are available for runtime libnss-mdns
(avahi-libnss-mdns, mdns)
Consider defining a PREFERRED_RPROVIDER entry to match libnss-mdns
ERROR: Nothing RPROVIDES 'mctpd' (but
/srv/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-networking/recipes-support/mctp/mctpd_2.6.bb
RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'mctpd'
NOTE: Runtime target 'mctpd' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mctpd']
ERROR: Nothing RPROVIDES 'mctpd-dev' (but
/srv/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-networking/recipes-support/mctp/mctpd_2.6.bb
RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'mctpd-dev'


On Tue, Aug 11, 2026 at 12:25 AM James Lee via lists.openembedded.org
<[email protected]> wrote:

> Bumped mctp and mctp-daemon version to 2.6, and added the new system
> user to own mctpd's service.
>
> Signed-off-by: James Lee <[email protected]>
> ---
>  meta-networking/recipes-support/mctp/mctp.inc                | 2 +-
>  .../recipes-support/mctp/{mctp_2.5.bb => mctp_2.6.bb}        | 0
>  .../recipes-support/mctp/{mctpd_2.5.bb => mctpd_2.6.bb}      | 5 ++++-
>  3 files changed, 5 insertions(+), 2 deletions(-)
>  rename meta-networking/recipes-support/mctp/{mctp_2.5.bb => mctp_2.6.bb}
> (100%)
>  rename meta-networking/recipes-support/mctp/{mctpd_2.5.bb => mctpd_2.6.bb}
> (89%)
>
> diff --git a/meta-networking/recipes-support/mctp/mctp.inc
> b/meta-networking/recipes-support/mctp/mctp.inc
> index 98225cffea..c8fc98f63a 100644
> --- a/meta-networking/recipes-support/mctp/mctp.inc
> +++ b/meta-networking/recipes-support/mctp/mctp.inc
> @@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-only"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"
>
>  SRC_URI = "git://
> github.com/CodeConstruct/mctp;branch=main;protocol=https;tag=v${PV}
> <http://github.com/CodeConstruct/mctp;branch=main;protocol=https;tag=v$%7BPV%7D>
> "
> -SRCREV = "07c7a5d526f686da89bc9ae9cad917e46652b272"
> +SRCREV = "31ac0e86b0e23d32abf34d191653a87a47f3c9a7"
>
>  inherit meson pkgconfig
>
> diff --git a/meta-networking/recipes-support/mctp/mctp_2.5.bb
> b/meta-networking/recipes-support/mctp/mctp_2.6.bb
> similarity index 100%
> rename from meta-networking/recipes-support/mctp/mctp_2.5.bb
> rename to meta-networking/recipes-support/mctp/mctp_2.6.bb
> diff --git a/meta-networking/recipes-support/mctp/mctpd_2.5.bb
> b/meta-networking/recipes-support/mctp/mctpd_2.6.bb
> similarity index 89%
> rename from meta-networking/recipes-support/mctp/mctpd_2.5.bb
> rename to meta-networking/recipes-support/mctp/mctpd_2.6.bb
> index f049be646b..f4c5bb976c 100644
> --- a/meta-networking/recipes-support/mctp/mctpd_2.5.bb
> +++ b/meta-networking/recipes-support/mctp/mctpd_2.6.bb
> @@ -2,7 +2,7 @@ require mctp.inc
>
>  SUMMARY = "Management Component Transport Protocol (MCTP) control
> protocol daemon"
>
> -inherit systemd
> +inherit systemd useradd
>
>  do_install:append () {
>      install -d ${D}${systemd_system_unitdir}
> @@ -17,6 +17,9 @@ do_install:append () {
>
>  SYSTEMD_SERVICE:${PN} = "mctpd.service mctp.target mctp-local.target"
>
> +USERADD_PACKAGES = "${PN}"
> +USERADD_PARAM:${PN} = "-r -U -s /bin/false mctpd"
> +
>  DEPENDS += "systemd"
>
>  # Meson adds mctp utility binaries to FILES and do_install(), which
> cannot be
> --
> 2.47.3
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#128923):
> https://lists.openembedded.org/g/openembedded-devel/message/128923
> Mute This Topic: https://lists.openembedded.org/mt/120698533/1997914
> Group Owner: [email protected]
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> [email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.