meta-romulus: Change wants to requires for power on services
In order for targets to fail when their services fail,
the relationship must be a "requires"
Change-Id: I9be703179caff8276572c32ecca84209e42448cf
Signed-off-by: Lei YU <mine260309@gmail.com>
diff --git a/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger.bb b/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger.bb
index 41ff1f6..129390d 100644
--- a/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger.bb
+++ b/meta-ibm/meta-romulus/recipes-phosphor/chassis/cpld-trigger.bb
@@ -26,8 +26,8 @@
INSTFMT_RESET = "cpld_reset@{0}.service"
TGTFMT = "obmc-power-chassis-on@{0}.target"
TGTFMT_RESET = "obmc-power-chassis-off@{0}.target"
-FMT = "../${TMPL}:${TGTFMT}.wants/${INSTFMT}"
-FMT_RESET = "../${TMPL_RESET}:${TGTFMT_RESET}.wants/${INSTFMT_RESET}"
+FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
+FMT_RESET = "../${TMPL_RESET}:${TGTFMT_RESET}.requires/${INSTFMT_RESET}"
SYSTEMD_SERVICE_${PN} += "${TMPL}"
SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"