summaryrefslogtreecommitdiff
path: root/meta-facebook/meta-greatlakes
diff options
context:
space:
mode:
authorDelphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>2023-01-05 08:50:29 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-02-02 22:48:44 +0300
commit3b3d40e1e799938dc5796a6a695c046af40f385c (patch)
treed1b5835144c10c50b2766b371cbea5a381970e6f /meta-facebook/meta-greatlakes
parentdb86eb15cee3c88e6cc42fea87c4153bbc791809 (diff)
downloadopenbmc-3b3d40e1e799938dc5796a6a695c046af40f385c.tar.xz
greatlakes: Fix NIC OTP 12V off bug
BMC should 12V-off GL once NIC temperature exceed UNR threshold, the OTP triggered but didn't link to the 12V-off service. The root cause is the pkg_postinst was for ${PN} (i.e., phosphor-fan), but meta-facebook only required "sensor-monitor", which is the sub-package in phosphor-fan. We also fixed some misspelling and deleted unused statement for folder creation. Note: - Customized meson config for specific project were also be added. Test Case: - When NIC temperature touch the UNR threshold, all four slot should 12V Off. --pass Signed-off-by: Bonnie Lo <Bonnie_Lo@wiwynn.com> Change-Id: Ic86f0571ce8fbfeef3774cbed9036b58a48d638f
Diffstat (limited to 'meta-facebook/meta-greatlakes')
-rw-r--r--meta-facebook/meta-greatlakes/recipes-phosphor/fans/phosphor-fan_%.bbappend1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-facebook/meta-greatlakes/recipes-phosphor/fans/phosphor-fan_%.bbappend b/meta-facebook/meta-greatlakes/recipes-phosphor/fans/phosphor-fan_%.bbappend
new file mode 100644
index 0000000000..009941848a
--- /dev/null
+++ b/meta-facebook/meta-greatlakes/recipes-phosphor/fans/phosphor-fan_%.bbappend
@@ -0,0 +1 @@
+EXTRA_OEMESON:greatlakes = "-Duse-host-power-state=enabled -Dsensor-monitor-hard-shutdown-delay=0"