diff options
author | Xo Wang <xow@google.com> | 2016-12-15 13:59:06 -0800 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-12-22 01:10:06 +0000 |
commit | 4085d32d7d1ce7e0d90ef913dc7b70c59f0788b2 (patch) | |
tree | 653ec47476be714d0ccb3bdf2a5d5c57e0d034c4 /meta-openbmc-machines/meta-openpower/common | |
parent | 560527b63f5bde79dabcf878463f7198e8838552 (diff) | |
download | talos-openbmc-4085d32d7d1ce7e0d90ef913dc7b70c59f0788b2.tar.gz talos-openbmc-4085d32d7d1ce7e0d90ef913dc7b70c59f0788b2.zip |
op-pdbg-host-control: Order services against obmc targets
Remove sequencing against Witherspoon-specific services from pdbg host
services.
Add sequencing against obmc systemd targets.
Shorten descriptions in pdbg control services.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I4d2f55c639f6b3095bdb36fe6161ccc9e2032eec
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/common')
2 files changed, 10 insertions, 4 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/start_host@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/start_host@.service index dbf6021e3..13f7c3bd4 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/start_host@.service +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/op-pdbg-host-control/start_host@.service @@ -1,7 +1,11 @@ [Unit] -Description=Use pdbg to send putcfam command to start IPL -Wants=vcs_on@.service -After=vcs_on@.service +Description=Start host%i SBE (pdbg) +After=obmc-host-start-pre@%i.target +Wants=obmc-host-start@%i.target +Before=obmc-host-start@%i.target +Before=obmc-host-started@%i.target +Wants=obmc-power-on@%i.target +After=obmc-power-on@%i.target Conflicts=obmc-chassis-stop@%i.target [Service] 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 6b4d4255e..817df0793 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 @@ -1,5 +1,7 @@ [Unit] -Description=Use pdbg to send putcfam commands to SBE to run workaround +Description=Run VCS workaround on host%i +Wants=obmc-host-start-pre@%i.target +Before=obmc-host-start-pre@%i.target Wants=obmc-power-on@%i.target After=obmc-power-on@%i.target Conflicts=obmc-chassis-stop@%i.target |