diff options
author | Jeremy Kerr <jk@codeconstruct.com.au> | 2021-12-17 10:28:10 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-12-21 18:48:51 -0800 |
commit | 1427cbe9c234600ebdd50e2fe9a087a5b147eb6c (patch) | |
tree | 551347a407495e7153850e7d3d3a0a24c640f3df /meta-networking/recipes-support | |
parent | 9da8d6eaa93b61daa091d0fef54aacf3c58af3a1 (diff) | |
download | meta-openembedded-1427cbe9c234600ebdd50e2fe9a087a5b147eb6c.tar.gz |
mctp: install dbus service configuration
mctpd ships with an example dbus service configuration, so install in
the dbus system configuration dir.
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support')
-rw-r--r-- | meta-networking/recipes-support/mctp/mctp_git.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/mctp/mctp_git.bb b/meta-networking/recipes-support/mctp/mctp_git.bb index eabc6fa164..350c2722be 100644 --- a/meta-networking/recipes-support/mctp/mctp_git.bb +++ b/meta-networking/recipes-support/mctp/mctp_git.bb @@ -29,5 +29,13 @@ do_install:append () { install -d ${D}${systemd_system_unitdir} install -m 0644 ${S}/conf/mctpd.service \ ${D}${systemd_system_unitdir}/mctpd.service + install -d ${D}${datadir}/dbus-1/system.d + install -m 0644 ${S}/conf/mctpd-dbus.conf \ + ${D}${datadir}/dbus-1/system.d/mctpd.conf fi } + +FILES:${PN} += " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', \ + '${datadir}/dbus-1/system.d/mctpd.conf', '', d)} \ +" |