diff options
author | Zev Weiss <zev@bewilderbeest.net> | 2023-08-18 08:48:44 +0300 |
---|---|---|
committer | Zev Weiss <zev@bewilderbeest.net> | 2024-01-20 04:58:01 +0300 |
commit | da40341efd57f96088fab5fff474568065f35256 (patch) | |
tree | d8d3b997c3e1f47cbcbf9dd9dfe0c0dd506237c3 | |
parent | e5128ffe1afa10bb823ddfe67c096e8c34bc070f (diff) | |
download | openbmc-da40341efd57f96088fab5fff474568065f35256.tar.xz |
meta-asrock: e3c256d4i: Add LED config
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: I4125773f51c8318555577206c09ca1bdb99e626e
-rw-r--r-- | meta-asrock/meta-e3c256d4i/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json | 26 | ||||
-rw-r--r-- | meta-asrock/meta-e3c256d4i/recipes-phosphor/leds/phosphor-led-manager_%.bbappend | 7 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-asrock/meta-e3c256d4i/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json b/meta-asrock/meta-e3c256d4i/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json new file mode 100644 index 0000000000..200fa3b6a1 --- /dev/null +++ b/meta-asrock/meta-e3c256d4i/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json @@ -0,0 +1,26 @@ +{ + "leds": [ + { + "group" : "bmc_booted", + "members" : [ + { + "Name" : "heartbeat", + "Action" : "Blink", + "DutyOn" : 50, + "Period" : 1000 + } + ] + }, + { + "group": "system_fault", + "members": [ + { + "Name": "system-fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 250 + } + ] + } + ] +} diff --git a/meta-asrock/meta-e3c256d4i/recipes-phosphor/leds/phosphor-led-manager_%.bbappend b/meta-asrock/meta-e3c256d4i/recipes-phosphor/leds/phosphor-led-manager_%.bbappend new file mode 100644 index 0000000000..892807ed45 --- /dev/null +++ b/meta-asrock/meta-e3c256d4i/recipes-phosphor/leds/phosphor-led-manager_%.bbappend @@ -0,0 +1,7 @@ +FILESEXTRAPATHS:prepend:e3c256d4i := "${THISDIR}/${PN}:" + +SRC_URI:append:e3c256d4i = " file://led-group-config.json" + +do_install:append:e3c256d4i() { + install -m 0644 ${WORKDIR}/led-group-config.json ${D}${datadir}/phosphor-led-manager/ +} |