From 4085d32d7d1ce7e0d90ef913dc7b70c59f0788b2 Mon Sep 17 00:00:00 2001 From: Xo Wang Date: Thu, 15 Dec 2016 13:59:06 -0800 Subject: 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 Change-Id: I4d2f55c639f6b3095bdb36fe6161ccc9e2032eec --- .../host/op-pdbg-host-control/start_host@.service | 10 +++++++--- .../host/op-pdbg-host-control/vcs_workaround@.service | 4 +++- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'meta-openbmc-machines/meta-openpower/common') 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 -- cgit v1.2.1