diff options
author | Matt Spinler <spinler@us.ibm.com> | 2017-02-27 11:38:35 -0600 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-03-01 16:08:47 +0000 |
commit | d7a66d4fc76939b88864aa946cc0f8dc12864a7a (patch) | |
tree | 3322ff83c5d711d169924e1e712b9e84b4dc2b13 | |
parent | 69ad48df75aea9dcbff3195cbf6690c249362e85 (diff) | |
download | talos-openbmc-d7a66d4fc76939b88864aa946cc0f8dc12864a7a.tar.gz talos-openbmc-d7a66d4fc76939b88864aa946cc0f8dc12864a7a.zip |
Ensure FSI scan runs before services that use FSI
The FSI scan must be done before start_host and vcs_workaround
run in order for them to work propertly.
Change-Id: I1305a65763ba35721d5655f1f3e6c2d8af5fdc71
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2 files changed, 4 insertions, 0 deletions
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 e4cd8a377..e759d5d64 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 @@ -4,6 +4,8 @@ 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 +Wants=fsi-scan@%i.service +After=fsi-scan@%i.service Conflicts=obmc-power-chassis-off@%i.target [Service] diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-fsi-scan/fsi-scan@.service b/meta-phosphor/common/recipes-phosphor/chassis/obmc-fsi-scan/fsi-scan@.service index ac37004f3..8f94e28ab 100644 --- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-fsi-scan/fsi-scan@.service +++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-fsi-scan/fsi-scan@.service @@ -2,6 +2,8 @@ Description=Scan FSI devices Wants=obmc-power-on@%i.target After=obmc-power-on@%i.target +Wants=obmc-host-start-pre@%i.target +Before=obmc-host-start-pre@%i.target Conflicts=obmc-power-chassis-off@%i.target [Service] |