summaryrefslogtreecommitdiff
path: root/meta-ibm
diff options
context:
space:
mode:
authorAnton Blanchard <anton@ozlabs.org>2021-08-17 08:51:27 +0300
committerPatrick Williams <patrick@stwcx.xyz>2021-08-17 17:51:56 +0300
commit782d7195eac9bb9e05f86477b9537dbbee26930c (patch)
tree459a1d60da8a54ccc7eec4c5dd8b5e8a6c664bb7 /meta-ibm
parent3f248dc32aa8c8f9c294d955fe0f19d8c8c4579a (diff)
downloadopenbmc-782d7195eac9bb9e05f86477b9537dbbee26930c.tar.xz
Fix path to udev rules files
Use nonarch_base_libdir instead of base_libdir, because the files are always in /lib/udev/rules.d/. On ppc64le base_libdir is lib64, and the files end up in the wrong spot. Signed-off-by: Anton Blanchard <anton@ozlabs.org> Change-Id: I3c24dae293f4166f1ed1826d09d4bde7cd7d0357
Diffstat (limited to 'meta-ibm')
-rw-r--r--meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend
index cde45e7cc..080025ead 100644
--- a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend
+++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend
@@ -120,8 +120,8 @@ SYSTEMD_LINK_max31785-msl:append:ibm-ac-server = " ../phosphor-max31785-msl@.ser
SYSTEMD_SERVICE:${PN}:append:ibm-ac-server = " max31785-hwmon-helper@.service"
do_install:append:ibm-ac-server() {
- install -d ${D}/${base_libdir}/udev/rules.d/
- install -m 0644 ${WORKDIR}/70-max31785-hwmon.rules ${D}/${base_libdir}/udev/rules.d/
+ install -d ${D}/${nonarch_base_libdir}/udev/rules.d/
+ install -m 0644 ${WORKDIR}/70-max31785-hwmon.rules ${D}/${nonarch_base_libdir}/udev/rules.d/
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/start_max31785_hwmon.sh ${D}${bindir}