commit | d7a66d4fc76939b88864aa946cc0f8dc12864a7a | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Mon Feb 27 11:38:35 2017 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Mar 01 16:08:47 2017 +0000 |
tree | 3322ff83c5d711d169924e1e712b9e84b4dc2b13 | |
parent | 69ad48df75aea9dcbff3195cbf6690c249362e85 [diff] |
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>
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 e4cd8a3..e759d5d 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 @@ 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 ac37004..8f94e28 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]