diff options
author | Ed Tanous <ed.tanous@intel.com> | 2019-06-19 01:34:17 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2019-06-19 01:34:17 +0300 |
commit | aea9e7cbf9bd7677228747a8e7bab4d22bc80103 (patch) | |
tree | 94f59c0b6566fbd9c459918177ceb49e53128aa7 /meta-lenovo/meta-hr630/recipes-phosphor/leds | |
parent | 10bc2ef852277cf8e9858f75cea9f55b482bf85b (diff) | |
parent | f3b2f5e9e3e0fe093d5ab1e3dcdede0aa3000450 (diff) | |
download | openbmc-aea9e7cbf9bd7677228747a8e7bab4d22bc80103.tar.xz |
Merge branch 'master' of ssh://github.com/openbmc/openbmc into intel
Diffstat (limited to 'meta-lenovo/meta-hr630/recipes-phosphor/leds')
-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 |