diff options
Diffstat (limited to 'meta-lenovo/meta-hr630/recipes-phosphor')
-rw-r--r-- | meta-lenovo/meta-hr630/recipes-phosphor/leds/hr630-led-manager-config-native.bb | 21 | ||||
-rw-r--r-- | meta-lenovo/meta-hr630/recipes-phosphor/leds/hr630-led-manager-config/led.yaml | 14 |
2 files changed, 35 insertions, 0 deletions
diff --git a/meta-lenovo/meta-hr630/recipes-phosphor/leds/hr630-led-manager-config-native.bb b/meta-lenovo/meta-hr630/recipes-phosphor/leds/hr630-led-manager-config-native.bb new file mode 100644 index 000000000..e3efa3d6d --- /dev/null +++ b/meta-lenovo/meta-hr630/recipes-phosphor/leds/hr630-led-manager-config-native.bb @@ -0,0 +1,21 @@ +#"Copyright (c) 2019-present Lenovo" + +SUMMARY = "Phosphor LED Group Management for hr630" +PR = "r1" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${LENOVOBASE}/COPYING.BSD;md5=efc72ac5d37ea632ccf0001f56126210" + +inherit native +inherit obmc-phosphor-utils + +PROVIDES += "virtual/phosphor-led-manager-config-native" + +SRC_URI += "file://led.yaml" +S = "${WORKDIR}" + +# Copies example led layout yaml file +do_install() { + SRC=${S} + DEST=${D}${datadir}/phosphor-led-manager + install -D ${SRC}/led.yaml ${DEST}/led.yaml +} diff --git a/meta-lenovo/meta-hr630/recipes-phosphor/leds/hr630-led-manager-config/led.yaml b/meta-lenovo/meta-hr630/recipes-phosphor/leds/hr630-led-manager-config/led.yaml new file mode 100644 index 000000000..b8b9ff620 --- /dev/null +++ b/meta-lenovo/meta-hr630/recipes-phosphor/leds/hr630-led-manager-config/led.yaml @@ -0,0 +1,14 @@ +#"Copyright (c) 2019-present Lenovo +#Licensed under BSD-3, see COPYING.BSD file for details." + +bmc_booted: + heartbeat: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + +enclosure_fault: + fault: + Action: 'On' + DutyOn: 50 + Period: 0 |