From 0c784cec452036b789fc8b9b6b14a403e578c7bb Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Fri, 8 Jan 2021 09:43:11 -0600 Subject: gpio-presence: wants relationship with multi-user The rule of thumb within OpenBMC is to utilize a wants relationship with targets, especially the multi-user.target. This follows the general design of always allowing the system to continue whenever possible. For example I'm doing some bringup in simulation where these services are not required, but their failure is impacting my ability to reach a successful multi-user.target state which impacts other targets that depend on it. Tested: - Verified multi-user.target completes successfully now on my bringup system (From meta-ibm rev: f2f6d38efdfa1a88a5f41b9871e0d3aa76f193d1) Signed-off-by: Andrew Geissler Change-Id: I687fbbb7006a3d9b9abe1d308802914d64224410 Signed-off-by: Andrew Geissler --- meta-ibm/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-ibm') diff --git a/meta-ibm/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend b/meta-ibm/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend index 04399f83c..e5af8850c 100644 --- a/meta-ibm/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend +++ b/meta-ibm/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend @@ -3,7 +3,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" TMPL_POWERSUPPLY = "phosphor-gpio-presence@.service" INSTFMT_POWERSUPPLY = "phosphor-gpio-presence@{0}.service" POWERSUPPLY_TGT = "multi-user.target" -FMT_POWERSUPPLY = "../${TMPL_POWERSUPPLY}:${POWERSUPPLY_TGT}.requires/${INSTFMT_POWERSUPPLY}" +FMT_POWERSUPPLY = "../${TMPL_POWERSUPPLY}:${POWERSUPPLY_TGT}.wants/${INSTFMT_POWERSUPPLY}" SYSTEMD_LINK_${PN}-presence_append_ibm-ac-server = " ${@compose_list(d, 'FMT_POWERSUPPLY', 'OBMC_POWER_SUPPLY_INSTANCES')}" SYSTEMD_LINK_${PN}-presence_append_mihawk = " ${@compose_list(d, 'FMT_POWERSUPPLY', 'OBMC_POWER_SUPPLY_INSTANCES')}" -- cgit v1.2.3