summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/common
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2017-03-02 16:25:43 -0600
committerAndrew Geissler <geissonator@yahoo.com>2017-03-15 19:55:20 +0000
commitb8c47703036a3ebcfda7491da42cff5c2c11b084 (patch)
tree3f74c5555db5e3caa2129e4adb96a0c71b865416 /meta-openbmc-machines/meta-openpower/common
parent4084c4784fe561035668ac03b5d5f2ea9d8f3144 (diff)
downloadtalos-openbmc-b8c47703036a3ebcfda7491da42cff5c2c11b084.tar.gz
talos-openbmc-b8c47703036a3ebcfda7491da42cff5c2c11b084.zip
Do not run chassis power target services if power on
This is the first commit in a series that will ensure we do not run the chassis power on services when the chassis is already on. Specifically this is to handle the situation where the chassis is on and the BMC is rebooted. Change-Id: I733ca076f044731a4ba327fe2f46302dce5f4edd Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/common')
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/vcs_workaround@.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/vcs_workaround@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/vcs_workaround@.service
index e759d5d64..c9cd09aa8 100644
--- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/vcs_workaround@.service
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/vcs_workaround@.service
@@ -7,6 +7,7 @@ After=obmc-power-on@%i.target
Wants=fsi-scan@%i.service
After=fsi-scan@%i.service
Conflicts=obmc-power-chassis-off@%i.target
+ConditionPathExists=!/run/openbmc/chassis@%i-on
[Service]
ExecStart={bindir}/vcs_workaround.sh {MACHINE}
OpenPOWER on IntegriCloud