diff options
author | Potin Lai <potin.lai@quantatw.com> | 2022-04-13 06:24:00 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2022-04-14 20:31:29 +0300 |
commit | 807e2b2bccbb0b7d0371cacd342714f006da0faf (patch) | |
tree | c96069879f743e3218a5968a1e2281de2aea895b /meta-facebook/meta-bletchley/recipes-phosphor/leds | |
parent | ce928aca31ddca02435faeb06887ad56cc5217d0 (diff) | |
download | openbmc-807e2b2bccbb0b7d0371cacd342714f006da0faf.tar.xz |
meta-bletchley: update fanX_good and sledX_good LED behaviour
Start fanX_good LED group during sysyem early init.
Add sledX_good LED group start/stop service into obmc-host-startmin@X
and obmc-host-shutdown@X targets.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ibfab75d6f08550806d320b8a95e67d5fd5bedf82
Diffstat (limited to 'meta-facebook/meta-bletchley/recipes-phosphor/leds')
-rw-r--r-- | meta-facebook/meta-bletchley/recipes-phosphor/leds/phosphor-led-manager_%.bbappend | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-facebook/meta-bletchley/recipes-phosphor/leds/phosphor-led-manager_%.bbappend b/meta-facebook/meta-bletchley/recipes-phosphor/leds/phosphor-led-manager_%.bbappend new file mode 100644 index 0000000000..1846c93041 --- /dev/null +++ b/meta-facebook/meta-bletchley/recipes-phosphor/leds/phosphor-led-manager_%.bbappend @@ -0,0 +1,10 @@ + +FAN_INSTANCES="0 1 2 3" +FAN_INSTFMT="obmc-led-group-start@.service:obmc-led-group-start@fan{0}_good.service" +SYSTEMD_LINK:${PN} += "${@compose_list_zip(d, 'FAN_INSTFMT', 'FAN_INSTANCES')}" + +HOST_START_INSTFMT="obmc-led-group-start@.service:obmc-led-group-start@sled{0}_good.service" +SYSTEMD_LINK:${PN} += "${@compose_list_zip(d, 'HOST_START_INSTFMT', 'OBMC_HOST_INSTANCES')}" + +HOST_STOP_INSTFMT="obmc-led-group-stop@.service:obmc-led-group-stop@sled{0}_good.service" +SYSTEMD_LINK:${PN} += "${@compose_list_zip(d, 'HOST_STOP_INSTFMT', 'OBMC_HOST_INSTANCES')}" |