summaryrefslogtreecommitdiff
path: root/meta-openpower/recipes-phosphor/host/op-host-control
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2020-02-26 23:11:53 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-03-16 18:50:37 +0300
commit4e174d1e04177fd6ede8a33c81e84c282314fe85 (patch)
tree6eb531ceb7d181aedc6f5cc7964feef9b4784d1b /meta-openpower/recipes-phosphor/host/op-host-control
parent82cfa666a8eaea5cd8f0bca9a13113ad8b949190 (diff)
downloadopenbmc-4e174d1e04177fd6ede8a33c81e84c282314fe85.tar.xz
warm-reboot: ensure cfam override is run
The cfam_override@.service is required in two situations: - When chassis power is turned on (to ensure proper workarounds and overrides are in place) - When the host is warm rebooted (i.e. no chassis power is turned off/on) Install this service in both targets and ensure it only runs once per boot. Tested: - Verified service was only run once during a cold boot - Verified overrides were correctly applied on a warm reboot (From meta-openpower rev: 59c6d368452c05a184549c0ee844eba63203250f) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Idb667eb7c0b09d7c00e5893443abbcf58058a465 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-openpower/recipes-phosphor/host/op-host-control')
-rw-r--r--meta-openpower/recipes-phosphor/host/op-host-control/cfam_override@.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-openpower/recipes-phosphor/host/op-host-control/cfam_override@.service b/meta-openpower/recipes-phosphor/host/op-host-control/cfam_override@.service
index e6bc9389c4..8b773ec385 100644
--- a/meta-openpower/recipes-phosphor/host/op-host-control/cfam_override@.service
+++ b/meta-openpower/recipes-phosphor/host/op-host-control/cfam_override@.service
@@ -7,6 +7,7 @@ After=obmc-power-on@%i.target
Wants=fsi-scan@%i.service
After=fsi-scan@%i.service
Conflicts=obmc-chassis-poweroff@%i.target
+Conflicts=obmc-host-stop@%i.target
ConditionPathExists=!/run/openbmc/chassis@%i-on
ConditionPathExists=/var/lib/obmc/cfam_overrides
@@ -18,3 +19,4 @@ RemainAfterExit=yes
[Install]
WantedBy=obmc-chassis-poweron@%i.target
+WantedBy=obmc-host-startmin@%i.target