All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Lee <james@codeconstruct.com.au>
To: openembedded-devel@lists.openembedded.org
Cc: andrew@codeconstruct.com.au, jk@codeconstruct.com.au
Subject: [oe] [meta-networking] [PATCH v2 2/2] mctp: upgrade 2.5 -> 2.6
Date: Tue, 11 Aug 2026 15:25:23 +0800	[thread overview]
Message-ID: <20260811072523.3463118-2-james@codeconstruct.com.au> (raw)
In-Reply-To: <20260811072523.3463118-1-james@codeconstruct.com.au>

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 <james@codeconstruct.com.au>
---
 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}"
-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



      reply	other threads:[~2026-08-11  7:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-11  7:25 [oe] [meta-networking] [PATCH v2 1/2] mctp: split mctp tools and mctpd into separate recipes James Lee
2026-08-11  7:25 ` James Lee [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260811072523.3463118-2-james@codeconstruct.com.au \
    --to=james@codeconstruct.com.au \
    --cc=andrew@codeconstruct.com.au \
    --cc=jk@codeconstruct.com.au \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.