diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2021-10-05 01:26:22 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-10-05 21:51:46 +0300 |
commit | 9aefc7b924e1f11605cebea7afc95ed72ee14749 (patch) | |
tree | 39269b99f72650956172f4652e9a555b16ebee2e /meta-phosphor/recipes-phosphor | |
parent | 140d0615b41e51b85b1b7652deb4f7797a903f91 (diff) | |
download | openbmc-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')
-rw-r--r-- | meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb | 2 |
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 |