bmc flash service: Remove non-existing dependency
obmc-control-bmc service was removed from build but bmc flash service
still depends on it, which causes it never starts and BMC will not enter
ready state.
Removing the non-existing dependency and this service can be started.
Tested: Without this change, BMC becomes NotReady state after power on;
With this change, BMC enters Ready state after power on.
Change-Id: I469037cc5d5c15a695e1fd1730d14af7cbc03d73
Signed-off-by: Lei YU <mine260309@gmail.com>
diff --git a/meta-phosphor/common/recipes-phosphor/flash/obmc-flash-bmc/org.openbmc.control.BmcFlash.service b/meta-phosphor/common/recipes-phosphor/flash/obmc-flash-bmc/org.openbmc.control.BmcFlash.service
index 9fd20bf..bb97d8a 100644
--- a/meta-phosphor/common/recipes-phosphor/flash/obmc-flash-bmc/org.openbmc.control.BmcFlash.service
+++ b/meta-phosphor/common/recipes-phosphor/flash/obmc-flash-bmc/org.openbmc.control.BmcFlash.service
@@ -2,8 +2,6 @@
Description=Phosphor BMC Code Update
Wants=mapper-wait@-org-openbmc-managers-Download.service
After=mapper-wait@-org-openbmc-managers-Download.service
-Wants=mapper-wait@-org-openbmc-control-bmc0.service
-After=mapper-wait@-org-openbmc-control-bmc0.service
[Service]
Restart=always