From e9e982486160a1d724bf30f21167d72dfbcb84ce Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Mon, 4 Oct 2021 17:31:21 -0500 Subject: dbus-dir: change static dbus config directory Move static dbus config directory to be `/usr/share` instead of `/etc`, which is recommended by `dbus-daemon`. Signed-off-by: Patrick Williams Change-Id: Ifd210a262e1c8025dc9e3037c9970ec66ebb085b --- meta-phosphor/classes/dbus-dir.bbclass | 2 +- meta-phosphor/recipes-phosphor/dbus/dbus-perms.bb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-phosphor/classes/dbus-dir.bbclass b/meta-phosphor/classes/dbus-dir.bbclass index f66346399..a8ed3e7ec 100644 --- a/meta-phosphor/classes/dbus-dir.bbclass +++ b/meta-phosphor/classes/dbus-dir.bbclass @@ -1,2 +1,2 @@ -dbus_system_confdir="${sysconfdir}/dbus-1/system.d/" +dbus_system_confdir="${datadir}/dbus-1/system.d/" dbus_system_servicesdir="${datadir}/dbus-1/system-services/" diff --git a/meta-phosphor/recipes-phosphor/dbus/dbus-perms.bb b/meta-phosphor/recipes-phosphor/dbus/dbus-perms.bb index ca60b6931..9097222f0 100644 --- a/meta-phosphor/recipes-phosphor/dbus/dbus-perms.bb +++ b/meta-phosphor/recipes-phosphor/dbus/dbus-perms.bb @@ -10,6 +10,8 @@ inherit dbus-dir SRC_URI += "file://org.openbmc.conf" +FILES:${PN}:append = " ${dbus_system_confdir}" + do_install:append() { install -d ${D}${dbus_system_confdir} install -m 0644 ${WORKDIR}/org.openbmc.conf \ -- cgit v1.2.3