summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/sensors
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2021-10-05 01:26:22 +0300
committerPatrick Williams <patrick@stwcx.xyz>2021-10-05 21:51:46 +0300
commit9aefc7b924e1f11605cebea7afc95ed72ee14749 (patch)
tree39269b99f72650956172f4652e9a555b16ebee2e /meta-phosphor/recipes-phosphor/sensors
parent140d0615b41e51b85b1b7652deb4f7797a903f91 (diff)
downloadopenbmc-9aefc7b924e1f11605cebea7afc95ed72ee14749.tar.xz
phosphor-hwmon: move dbus configs
Static dbus configs should not be in /etc but in /usr/share, per the `dbus-daemon` man pages. Switch the install location of the generated dbus configs. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib8de2bd743fc4dc9c010fc36453a2c01b9e91663
Diffstat (limited to 'meta-phosphor/recipes-phosphor/sensors')
-rw-r--r--meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb b/meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb
index 68338c6cf..fd2e49a38 100644
--- a/meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb
+++ b/meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb
@@ -55,7 +55,7 @@ S = "${WORKDIR}/git"
# 2. For each hwmon the script generates busconfig ACLs.
pkg_postinst:${PN}() {
hwmon_dir="$D/etc/default/obmc/hwmon"
- dbus_dir="$D/etc/dbus-1/system.d"
+ dbus_dir="$D/${datadir}/dbus-1/system.d"
if [ -n "$D" -a -d "${hwmon_dir}" ]; then
# Remove existing links and replace with actual copy of the file to prevent