summaryrefslogtreecommitdiff
path: root/meta-facebook/recipes-phosphor/fans/phosphor-fan_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-facebook/recipes-phosphor/fans/phosphor-fan_%.bbappend')
-rw-r--r--meta-facebook/recipes-phosphor/fans/phosphor-fan_%.bbappend6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-facebook/recipes-phosphor/fans/phosphor-fan_%.bbappend b/meta-facebook/recipes-phosphor/fans/phosphor-fan_%.bbappend
index 9ed68ab838..e9dcf33489 100644
--- a/meta-facebook/recipes-phosphor/fans/phosphor-fan_%.bbappend
+++ b/meta-facebook/recipes-phosphor/fans/phosphor-fan_%.bbappend
@@ -30,8 +30,8 @@ do_install:append:fb-withhost() {
install -m 0755 -d ${D}/var/lib/phosphor-fan-presence/sensor-monitor
- install -d ${D}/usr/libexec/phosphor-fan-sensor-monitor
- install -m 0777 ${WORKDIR}/host-poweroff ${D}/usr/libexec/phosphor-fan-sensor-monitor/
+ install -d ${D}${libexecdir}/phosphor-fan-sensor-monitor
+ install -m 0777 ${WORKDIR}/host-poweroff ${D}${libexecdir}/phosphor-fan-sensor-monitor/
}
pkg_postinst:${PN}-sensor-monitor() {
@@ -48,5 +48,5 @@ pkg_postinst:${PN}-sensor-monitor() {
ln -s $TARGET $LINK
}
-FILES:${PN}-sensor-monitor += "/usr/libexec/phosphor-fan-sensor-monitor/host-poweroff"
+FILES:${PN}-sensor-monitor += "${libexecdir}/phosphor-fan-sensor-monitor/host-poweroff"
FILES:${PN}-sensor-monitor += "${systemd_system_unitdir}"