commit | b49ee37efc853e04194aeadc5ebf65d30576d344 | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@linux.ibm.com> | Fri Dec 03 10:50:06 2021 -0600 |
committer | Andrew Geissler <geissonator@yahoo.com> | Mon Dec 06 16:52:23 2021 +0000 |
tree | ec8eae37167bb75a3b9df92bcb61823ae65b03e3 | |
parent | fe850265c797eb91c97c708881a4f2fa2a5398e6 [diff] |
openpower: occ: Update control service to run after FSI scan The OCC control application must not run during an FSI scan, so add an After dependency. Also, add a dependency on the target that determines whether or not the system has undergone a Reset/Reload. Signed-off-by: Eddie James <eajames@linux.ibm.com> Change-Id: I1f10feca449377405df7525d59778b85b6c8f38a
diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service index d16bcdc..10ac0ee 100644 --- a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service +++ b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service
@@ -2,6 +2,9 @@ Description=OpenPOWER OCC controller Wants=mapper-wait@-xyz-openbmc_project-inventory.service After=mapper-wait@-xyz-openbmc_project-inventory.service +Wants=obmc-host-reset-running@0.target +After=obmc-host-reset-running@0.target +After=fsi-scan@0.service [Service] ExecStart=/usr/bin/env openpower-occ-control