update usb-code-update service dependencies
Remove the usb-code-update Wants dependencies on old update service and
add After dependencies on Software.Manager service.
Tested:
Verified with new service enabled and usb-code-updater starts fine.
Change-Id: I4906fc8ca447f14f72e718f4a55c0bd3adf6f940
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/usb/services/usb-code-update@.service b/usb/services/usb-code-update@.service
index e885475..ebb3ac1 100644
--- a/usb/services/usb-code-update@.service
+++ b/usb/services/usb-code-update@.service
@@ -2,10 +2,9 @@
Description=FW Code Update via USB %I
BindsTo=dev-%i.device
After=dev-%i.device
-Wants=xyz.openbmc_project.Software.Version.service
After=xyz.openbmc_project.Software.Version.service
-Wants=xyz.openbmc_project.Software.BMC.Updater.service
After=xyz.openbmc_project.Software.BMC.Updater.service
+After=xyz.openbmc_project.Software.Manager.service
[Service]
Restart=no