commit | 4085d32d7d1ce7e0d90ef913dc7b70c59f0788b2 | [log] [tgz] |
---|---|---|
author | Xo Wang <xow@google.com> | Thu Dec 15 13:59:06 2016 -0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Dec 22 01:10:06 2016 +0000 |
tree | 653ec47476be714d0ccb3bdf2a5d5c57e0d034c4 | |
parent | 560527b63f5bde79dabcf878463f7198e8838552 [diff] |
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
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 dbf6021..13f7c3b 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 6b4d425..817df07 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