diff options
author | Matt Spinler <spinler@us.ibm.com> | 2019-06-07 21:26:07 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-06-10 21:25:55 +0300 |
commit | 80971f382416d1b111310d8ca88a31d9360edbee (patch) | |
tree | 9cb1c65a2444d66c888d5c94c73c889d51c3f2e2 /meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/swift/avsbus-disable@.service | |
parent | efc4e1d65b2f08847b7ac961dde18904173b396f (diff) | |
download | openbmc-80971f382416d1b111310d8ca88a31d9360edbee.tar.xz |
Swift: Run power-workarounds after PGOOD
On swift, the VRMs that power-workarounds.sh touches can't communicate
until the system has been powered on. Rearrange the services to make
this happen.
(From meta-ibm rev: b5980e57561bc2f161bd61965551c1a3e1323131)
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I0ac7fb6adaa0de18feb525259f991e99c147e244
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/swift/avsbus-disable@.service')
-rw-r--r-- | meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/swift/avsbus-disable@.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/swift/avsbus-disable@.service b/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/swift/avsbus-disable@.service new file mode 100644 index 000000000..fbab180ce --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/swift/avsbus-disable@.service @@ -0,0 +1,14 @@ +[Unit] +Description=Disable the AVS bus on the VRMs +Before=vrm-control@%i.service +Conflicts=obmc-chassis-poweroff@%i.target +ConditionPathExists=!/run/openbmc/chassis@%i-on + +[Service] +ExecStart=/usr/bin/env avsbus-disable.sh +SyslogIdentifier=avsbus-disable.sh +Type=oneshot +RemainAfterExit=yes + +[Install] +WantedBy=obmc-chassis-poweron@%i.target |