summaryrefslogtreecommitdiff
path: root/meta-facebook
diff options
context:
space:
mode:
authorPotin Lai <potin.lai@quantatw.com>2023-02-06 14:36:04 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-02-09 21:06:52 +0300
commita43085ea8dbdbea161bdf6970b96d468c875b9b3 (patch)
treee7e836f4b51e2db3787275a9a4e14552b0f1c552 /meta-facebook
parent1a910edfbf56f798e7656de33d12a4161f8ff141 (diff)
downloadopenbmc-a43085ea8dbdbea161bdf6970b96d468c875b9b3.tar.xz
meta-bletchley: phosphor-state-manager: fix BMC not ready
Temproary workaround for fixing some services stuck on waiting non-existing objecj path. phosphor-reset-chassis-running@{}.service |--> mapper-wait@-org-openbmc-control-power%i.service Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I61130d03b7cabc3cc94c662062b19526b4a50a8a
Diffstat (limited to 'meta-facebook')
-rw-r--r--meta-facebook/meta-bletchley/recipes-phosphor/state/phosphor-state-manager_%.bbappend8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-facebook/meta-bletchley/recipes-phosphor/state/phosphor-state-manager_%.bbappend b/meta-facebook/meta-bletchley/recipes-phosphor/state/phosphor-state-manager_%.bbappend
index 2b533e1c06..f9783e5ea9 100644
--- a/meta-facebook/meta-bletchley/recipes-phosphor/state/phosphor-state-manager_%.bbappend
+++ b/meta-facebook/meta-bletchley/recipes-phosphor/state/phosphor-state-manager_%.bbappend
@@ -8,3 +8,11 @@ RDEPENDS:${PN}-discover:append = " bletchley-common-tool"
BLETCHLEY_SYS_ST_INIT_CONF_FMT = "bletchley-system-state-init.conf:phosphor-discover-system-state@{0}.service.d/bletchley-system-state-init.conf"
SYSTEMD_OVERRIDE:${PN}-discover:bletchley += "${@compose_list_zip(d, 'BLETCHLEY_SYS_ST_INIT_CONF_FMT', 'OBMC_HOST_INSTANCES')}"
+
+#======================
+# Workaround for bletchley
+#======================
+CHASSIS_DEFAULT_TARGETS:remove:bletchley = " \
+ obmc-chassis-powerreset@{}.target.requires/phosphor-reset-chassis-on@{}.service \
+ obmc-chassis-powerreset@{}.target.requires/phosphor-reset-chassis-running@{}.service \
+"