mctp: upgrade 2.5 -> 2.6

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>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
James Lee
2026-08-14 15:17:01 +08:00
committed by Khem Raj
parent e059fc1543
commit b1c302feeb
3 changed files with 5 additions and 2 deletions
@@ -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
@@ -2,7 +2,7 @@ require mctp.inc
SUMMARY = "Management Component Transport Protocol (MCTP) control protocol daemon"
inherit systemd features_check
inherit systemd features_check 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"
REQUIRED_DISTRO_FEATURES = "systemd"