Add the new Software.Manager to service dependencies
Remove the Wants dependencies to the old code update service, these
services start by default. Add Before/After dependencies on the new
Software.Manager service to support both the old and the new flow.
Change-Id: I4669e2ef89ab4d8e292c1add3c8b87bb640b5583
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/ubi/obmc-flash-bmc-ubiremount.service.in b/ubi/obmc-flash-bmc-ubiremount.service.in
index 52ac12b..d136365 100644
--- a/ubi/obmc-flash-bmc-ubiremount.service.in
+++ b/ubi/obmc-flash-bmc-ubiremount.service.in
@@ -1,7 +1,7 @@
[Unit]
Description=Remount the ubi volume after a reboot
-Wants=xyz.openbmc_project.Software.BMC.Updater.service
Before=xyz.openbmc_project.Software.BMC.Updater.service
+Before=xyz.openbmc_project.Software.Manager.service
Wants=obmc-flash-bmc-setenv@rwreset.service
After=obmc-flash-bmc-setenv@rwreset.service