updatesymlinks: Add instantiated mbox service
The Before directive had the template service mboxd-reload@.service
but because it wasn't instantiated, the dependency was not taking
place and the mboxd-reset service would not wait for the
updatesymlinks service to finish, causing the host to read old data
until the updatesymlinks completed.
Resolves openbmc/openbmc#2695
Change-Id: I3669155f1c287d5f492f3400ab9d131913a2a93f
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-updatesymlinks.service b/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-updatesymlinks.service
index d8ee941..8323ccf 100644
--- a/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-updatesymlinks.service
+++ b/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-updatesymlinks.service
@@ -1,7 +1,7 @@
[Unit]
Description=Updates symlinks for active PNOR version
Before=mboxd.service
-Before=mboxd-reload@.service
+Before=mboxd-reload@0.service
After=org.open_power.Software.Host.Updater.service
After=op-reset-chassis-running@0.service
ConditionPathExists=!/run/openbmc/chassis@0-on