commit | e3836fe3e2207fa2c0091b7f1477ae23d3274d3f | [log] [tgz] |
---|---|---|
author | Andrew Geissler <andrewg@us.ibm.com> | Fri Jul 28 15:50:00 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Aug 02 11:03:38 2017 +0000 |
tree | 5008d6e2cdfc15a5aef7fc3cf7d659a69a5e4050 | |
parent | ba9d64ae5783acdc70a0d94c7a1853ba9dcdf80c [diff] |
witherspoon:Rename avsbus-workaround to power-workarounds This service/script will now be used for all required power workarounds that the BMC needs to apply during boot. Renaming to support this more generic purpose of this script. Change-Id: I9b0fbdff37f6ddc169391f95497d2d69620e552c Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
diff --git a/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-disable@.service b/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-disable@.service index ca92562..90e8b03 100644 --- a/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-disable@.service +++ b/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-disable@.service
@@ -1,7 +1,7 @@ [Unit] Description=Disable the AVS bus on the VRMs -Wants=avsbus-workaround@%i.service -After=avsbus-workaround@%i.service +Wants=power-workarounds@%i.service +After=power-workarounds@%i.service Before=vrm-control@%i.service Conflicts=obmc-chassis-poweroff@%i.target ConditionPathExists=!/run/openbmc/chassis@%i-on
diff --git a/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-workaround.sh b/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/power-workarounds.sh similarity index 100% rename from meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-workaround.sh rename to meta-witherspoon/recipes-phosphor/chassis/avsbus-control/power-workarounds.sh
diff --git a/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-workaround@.service b/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/power-workarounds@.service similarity index 76% rename from meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-workaround@.service rename to meta-witherspoon/recipes-phosphor/chassis/avsbus-control/power-workarounds@.service index a8bebc5..ec3017c 100644 --- a/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-workaround@.service +++ b/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/power-workarounds@.service
@@ -1,5 +1,5 @@ [Unit] -Description=Perform AVS bus workaround on VRMs +Description=Perform power workarounds on VRMs Wants=ucd_disable_vcs@%i.service After=ucd_disable_vcs@%i.service Before=avsbus-disable@%i.service @@ -7,7 +7,7 @@ ConditionPathExists=!/run/openbmc/chassis@%i-on [Service] -ExecStart={bindir}/avsbus-workaround.sh +ExecStart={bindir}/power-workarounds.sh Type=oneshot RemainAfterExit=yes