summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/sensors
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2020-11-17 17:45:37 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-11-23 23:00:33 +0300
commit7cff96a9d077030a18a48c489c93bf5ac93f7a79 (patch)
tree08d5ccb64e142b5224315a37551073eae5d193e6 /meta-ibm/recipes-phosphor/sensors
parent1359ff6981adb6335c56959af00b4efc44dc8511 (diff)
downloadopenbmc-7cff96a9d077030a18a48c489c93bf5ac93f7a79.tar.xz
sensors:max31785-msl: Enable/install max31785-msl package
The max31785-msl application is now a package within the phosphor-hwmon recipe, so that package needs to be enabled and installed on `ibm-ac-server` alias of machines which have a max31785 chip. These machines require that the minimum ship level(msl) be verified on them using this application. Tested: Built phosphor-hwmon package after enabling max31785-msl package Verified application, config file, and service existed in image (From meta-ibm rev: 33184059fa07ca12e11fb9e8dde2d6a31e1f029e) Change-Id: I186fb6ca930e4107738d4ed90d31b6233be3d6f2 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-ibm/recipes-phosphor/sensors')
-rw-r--r--meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend
index 6cba8537d..3eaa70eee 100644
--- a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend
+++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend
@@ -105,6 +105,8 @@ SYSTEMD_ENVIRONMENT_FILE_${PN}_append_ibm-ac-server = " ${@compose_list(d, 'ENVS
SYSTEMD_ENVIRONMENT_FILE_${PN}_append_mihawk = " ${@compose_list(d, 'ENVS', 'ITEMS')}"
SYSTEMD_ENVIRONMENT_FILE_${PN}_append_mihawk = " ${@compose_list(d, 'ENVS', 'OCCITEMS')}"
+# Enable and install the max31785-msl package
+PACKAGECONFIG_append_ibm-ac-server = " max31785-msl"
SYSTEMD_ENVIRONMENT_FILE_max31785-msl_append_ibm-ac-server = " obmc/hwmon-max31785/max31785.conf"
SYSTEMD_LINK_max31785-msl_append_ibm-ac-server = " ../phosphor-max31785-msl@.service:multi-user.target.wants/phosphor-max31785-msl@${MACHINE}.service"