diff options
author | Chanh Nguyen <chanh@os.amperecomputing.com> | 2021-02-25 11:32:29 +0300 |
---|---|---|
committer | Chanh Nguyen <chanh@os.amperecomputing.com> | 2021-02-25 11:32:29 +0300 |
commit | 0ca40f73ea8e964dfc6372c75ce744f8e7822a44 (patch) | |
tree | a76413f023257b7a86bcd04f7824638d07651089 /meta-ampere/meta-jade/recipes-phosphor/leds/mtjade-led-manager-config-native.bb | |
parent | 26f9ca6dc4d7f02764789966cb3dc7cb184145c5 (diff) | |
download | openbmc-0ca40f73ea8e964dfc6372c75ce744f8e7822a44.tar.xz |
meta-ampere: Add initial LED manager configuration
Add initial LED YAML and related files for Mt. Jade LED support.
Tested: Check power LED ON during BMC boot.
Signed-off-by: Hieu Cong Huynh <hieu.huynh@amperecomputing.com>
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Change-Id: I8c39a2b9c61366d588afd4847833ceb19f24a390
Diffstat (limited to 'meta-ampere/meta-jade/recipes-phosphor/leds/mtjade-led-manager-config-native.bb')
-rw-r--r-- | meta-ampere/meta-jade/recipes-phosphor/leds/mtjade-led-manager-config-native.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-ampere/meta-jade/recipes-phosphor/leds/mtjade-led-manager-config-native.bb b/meta-ampere/meta-jade/recipes-phosphor/leds/mtjade-led-manager-config-native.bb new file mode 100644 index 000000000..694ca237a --- /dev/null +++ b/meta-ampere/meta-jade/recipes-phosphor/leds/mtjade-led-manager-config-native.bb @@ -0,0 +1,19 @@ +SUMMARY = "Phosphor LED Group Management for Mt. Jade" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +inherit native + +PROVIDES += "virtual/phosphor-led-manager-config-native" + +SRC_URI += "file://led.yaml" +S = "${WORKDIR}" + +# Overwrite the example led layout yaml file prior +# to building the phosphor-led-manager package +do_install() { + SRC=${S} + DEST=${D}${datadir}/phosphor-led-manager + install -D ${SRC}/led.yaml ${DEST}/led.yaml +} |