summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPotin Lai <potin.lai@quantatw.com>2022-11-14 14:38:39 +0300
committerPatrick Williams <patrick@stwcx.xyz>2022-12-03 00:24:07 +0300
commit715782bbf937ad84294f44c5c1ae80c4c4b4d384 (patch)
tree0eded3a067713ae6b73c85d5910502eda1a74594
parent3b64b4e8ae4fa65335b0180781900810f130dfc3 (diff)
downloadopenbmc-715782bbf937ad84294f44c5c1ae80c4c4b4d384.tar.xz
meta-bletchley: remove SLED LED dependency with host poweron poweroff
LED behaviors are implemented in bletchley-host-state-monitor, remove LED dependency from host-poweron and host-poweroff service. Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: Ifdf4c0c588b5a3e1403e928b772a5c3fa3d5fc29
-rw-r--r--meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/host-poweroff.conf3
-rw-r--r--meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/host-poweron.conf3
-rw-r--r--meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/motor-ctrl_0.1.bb7
3 files changed, 0 insertions, 13 deletions
diff --git a/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/host-poweroff.conf b/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/host-poweroff.conf
deleted file mode 100644
index 1a743844b8..0000000000
--- a/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/host-poweroff.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-[Unit]
-Wants=obmc-led-group-stop@sled%i_good.service
-Before=obmc-led-group-stop@sled%i_good.service
diff --git a/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/host-poweron.conf b/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/host-poweron.conf
deleted file mode 100644
index d90a63bfa1..0000000000
--- a/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/host-poweron.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-[Unit]
-Wants=obmc-led-group-start@sled%i_good.service
-Before=obmc-led-group-start@sled%i_good.service
diff --git a/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/motor-ctrl_0.1.bb b/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/motor-ctrl_0.1.bb
index cb4554a225..329c6f8717 100644
--- a/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/motor-ctrl_0.1.bb
+++ b/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/motor-ctrl_0.1.bb
@@ -57,10 +57,3 @@ SYSTEMD_LINK:${PN} += "${@compose_list(d, 'AC_ON_INSTFMT', 'OBMC_HOST_INSTANCES'
SYSTEMD_SERVICE:${PN} += "host-ac-off@.service"
SYSTEMD_LINK:${PN} += "${@compose_list(d, 'AC_OFF_INSTFMT', 'OBMC_HOST_INSTANCES')}"
-# Host on unit configurations
-HOST_ON_OVERRIDE_CONF_FMT = "host-poweron.conf:host-poweron@{0}.service.d/host-poweron.conf"
-SYSTEMD_OVERRIDE:${PN}:bletchley += "${@compose_list_zip(d, 'HOST_ON_OVERRIDE_CONF_FMT', 'OBMC_HOST_INSTANCES')}"
-
-# Host off unit configurations
-HOST_OFF_OVERRIDE_CONF_FMT = "host-poweroff.conf:host-poweroff@{0}.service.d/host-poweroff.conf"
-SYSTEMD_OVERRIDE:${PN}:bletchley += "${@compose_list_zip(d, 'HOST_OFF_OVERRIDE_CONF_FMT', 'OBMC_HOST_INSTANCES')}"