diff options
author | Vincent Chou <vincent.chou@fii-na.com> | 2023-07-27 23:19:56 +0300 |
---|---|---|
committer | Vincent Chou <vincent.chou@fii-na.com> | 2024-01-18 20:09:25 +0300 |
commit | f528fa431e650c1084b2faeae5e6abce97a051b0 (patch) | |
tree | 58363505eb6db6635faad2f5fdd9d00d3efa2d50 /meta-fii/meta-mori/recipes-phosphor/image/obmc-phosphor-image.bbappend | |
parent | f26f2883a23706ef133ccf07f71893459be256cb (diff) | |
download | openbmc-f528fa431e650c1084b2faeae5e6abce97a051b0.tar.xz |
meta-fii: meta-mori: Assert LED group upon OS and power state change
* Replace the polling style OS state monitor with the event-driven style
monitor to detect state change and assert/deassert the led groups if the
condition is met.
* Change the target OS state from Standby to BootComplete for the "on"
state of boot-status-led.
- The led group would be assert upon the OS and power state change in
dbus instead of waiting for 10s polling interval.
- A monitor can be added/removed by its own yaml, which makes it easy
to maintain.
Change-Id: I838e8d688305fe5d5aa6053f4544173a7fe9a652
Signed-off-by: Vincent Chou <vincent.chou@fii-na.com>
Diffstat (limited to 'meta-fii/meta-mori/recipes-phosphor/image/obmc-phosphor-image.bbappend')
-rw-r--r-- | meta-fii/meta-mori/recipes-phosphor/image/obmc-phosphor-image.bbappend | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-fii/meta-mori/recipes-phosphor/image/obmc-phosphor-image.bbappend b/meta-fii/meta-mori/recipes-phosphor/image/obmc-phosphor-image.bbappend index 41cf101e3d..3c09c3158f 100644 --- a/meta-fii/meta-mori/recipes-phosphor/image/obmc-phosphor-image.bbappend +++ b/meta-fii/meta-mori/recipes-phosphor/image/obmc-phosphor-image.bbappend @@ -48,6 +48,8 @@ OBMC_IMAGE_EXTRA_INSTALL:append:mori = " virtual-obmc-host-ipmi-hw" OBMC_IMAGE_EXTRA_INSTALL:append:mori = " phosphor-software-manager-download-mgr" OBMC_IMAGE_EXTRA_INSTALL:append:mori = " phosphor-software-manager-version" OBMC_IMAGE_EXTRA_INSTALL:append:mori = " phosphor-software-manager-updater" -OBMC_IMAGE_EXTRA_INSTALL:append:mori = " mori-boot-status-led" OBMC_IMAGE_EXTRA_INSTALL:append:mori = " phosphor-led-manager" OBMC_IMAGE_EXTRA_INSTALL:append:mori = " phosphor-led-sysfs" +OBMC_IMAGE_EXTRA_INSTALL:append:mori = " phosphor-dbus-monitor" +OBMC_IMAGE_EXTRA_INSTALL:append:mori = " phosphor-dbus-monitor-config" +OBMC_IMAGE_EXTRA_INSTALL:append:mori = " led-policy-mori" |