From 9aefc7b924e1f11605cebea7afc95ed72ee14749 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Mon, 4 Oct 2021 17:26:22 -0500 Subject: 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 Change-Id: Ib8de2bd743fc4dc9c010fc36453a2c01b9e91663 --- meta-phosphor/recipes-phosphor/sensors/phosphor-hwmon_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3