diff options
author | Ben_Pai <ben_pai@wistron.com> | 2019-09-04 10:48:18 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-09-10 23:16:37 +0300 |
commit | 424e68f459977a762f813d89044a402d7862e0c2 (patch) | |
tree | 1fb0d860a34aa71d20660908e8d8a16db50cb5d1 /meta-ibm/meta-witherspoon/recipes-phosphor | |
parent | 0178703d47cae6f3c75dfddc4e0d6fccd653e177 (diff) | |
download | openbmc-424e68f459977a762f813d89044a402d7862e0c2.tar.xz |
meta-ibm: Mihawk use negative-errno-on-fail config
Enable this config for mihawk so the fan sensors are working, otherwise
hwmon will fail and exit when fans are not working.
Tested: Verify that the fan_tach sensors return -ETIMEOUT when host is
powered off and do not exit with failure.
(From meta-ibm rev: 2e39633c12f7914b1a4a398bbff9b467930bb731)
Signed-off-by: Ben Pai <Ben_Pai@wistron.com>
Change-Id: I0a7e881de5d5baa8d4db3cac9ca3cb46ec08faf4
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon/recipes-phosphor')
-rw-r--r-- | meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend index 420c0e049..4d60a74c2 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend @@ -1,5 +1,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +EXTRA_OECONF_append_mihawk = " --enable-negative-errno-on-fail" + SRC_URI_append_ibm-ac-server = " \ file://70-hwmon.rules \ file://70-max31785-hwmon.rules \ |