summaryrefslogtreecommitdiff
path: root/meta-ibm
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2021-06-18 19:09:46 +0300
committerMatthew Barth <msbarth@linux.ibm.com>2021-07-07 00:53:21 +0300
commit46c282b7fddfead985460ebb7029ce26e7c6a946 (patch)
tree867c591bf28e742c338101ff7d0dd5d66dd6b1e5 /meta-ibm
parenta7b3d680bbf5e2ffd83b7b5dd2f46408501d2118 (diff)
downloadopenbmc-46c282b7fddfead985460ebb7029ce26e7c6a946.tar.xz
ibm: Prepare for fan control services installed from repo
Witherspoon uses a specialized phosphor-fan-control@.service file and uses the phosphor-fan-control-init@.service file still to just set the fans ready target. To correctly be included in the FILES directive, these services need to be explicitly added on wiherspoon machines. Change-Id: I76129a7833337aaf74fd83b0e28f3083f1a41b0a Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'meta-ibm')
-rw-r--r--meta-ibm/recipes-phosphor/fans/phosphor-fan_%.bbappend1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/fans/phosphor-fan_%.bbappend b/meta-ibm/recipes-phosphor/fans/phosphor-fan_%.bbappend
index 7de421656..0d8b3b872 100644
--- a/meta-ibm/recipes-phosphor/fans/phosphor-fan_%.bbappend
+++ b/meta-ibm/recipes-phosphor/fans/phosphor-fan_%.bbappend
@@ -47,6 +47,7 @@ SYSTEMD_OVERRIDE_phosphor-fan-monitor_p10bmc += "fan-watchdog-conflicts.conf:pho
# Witherspoon fan control service linking
# Link fan control init service
+SYSTEMD_SERVICE_${PN}-control_witherspoon += "${TMPL_CONTROL} ${TMPL_CONTROL_INIT}"
SYSTEMD_LINK_${PN}-control_witherspoon += "${@compose_list(d, 'FMT_CONTROL_INIT', 'OBMC_CHASSIS_INSTANCES')}"
# Link fan control service to be started at standby
FMT_CONTROL_STDBY_witherspoon = "../${TMPL_CONTROL}:${MULTI_USR_TGT}.wants/${INSTFMT_CONTROL}"