commit | e662c8f9f44e56fa18ebbde8bf5b24f2c8941346 | [log] [tgz] |
---|---|---|
author | Lei YU <mine260309@gmail.com> | Wed Dec 27 10:38:18 2017 +0800 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Jan 17 01:59:34 2018 +0000 |
tree | 1be320b78fcd3fe06459fc44f53caab250a13c76 | |
parent | 0f79371d8d513ff3adfc9862aa982d5bb79ef5b4 [diff] |
meta-romulus: Do not run vrm control when chassis on VRM control is part of power on sequence and should not run when power is already on. Add condition to not run this service when chassis is is on. Change-Id: I7b4f4f8c9d7852871c33c3915b396dddf2c1afd5 Signed-off-by: Lei YU <mine260309@gmail.com>
diff --git a/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control/vrm-control@.service b/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control/vrm-control@.service index 5d072ad..22f0aeb 100644 --- a/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control/vrm-control@.service +++ b/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control/vrm-control@.service
@@ -4,6 +4,7 @@ After=avsbus-disable@%i.service Before=avsbus-enable@%i.service Conflicts=obmc-chassis-poweroff@%i.target +ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] ExecStart=/usr/bin/env vrm.sh