diff options
Diffstat (limited to 'meta-ibm/recipes-phosphor/leds')
-rw-r--r-- | meta-ibm/recipes-phosphor/leds/swift-led-manager-config-native.bb | 18 | ||||
-rw-r--r-- | meta-ibm/recipes-phosphor/leds/swift-led-manager-config/led.yaml | 11 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/leds/swift-led-manager-config-native.bb b/meta-ibm/recipes-phosphor/leds/swift-led-manager-config-native.bb new file mode 100644 index 000000000..459a3161c --- /dev/null +++ b/meta-ibm/recipes-phosphor/leds/swift-led-manager-config-native.bb @@ -0,0 +1,18 @@ +SUMMARY = "Phosphor LED Group Management for Mihawk" +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}" + +# 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-ibm/recipes-phosphor/leds/swift-led-manager-config/led.yaml b/meta-ibm/recipes-phosphor/leds/swift-led-manager-config/led.yaml new file mode 100644 index 000000000..4813cc6eb --- /dev/null +++ b/meta-ibm/recipes-phosphor/leds/swift-led-manager-config/led.yaml @@ -0,0 +1,11 @@ +BmcBooted: +PowerOn: +EnclosureFault: +EnclosureIdentify: +Fan0Fault: +Fan1Fault: +Fan2Fault: +Fan3Fault: +Fan4Fault: +Powersupply0Fault: +Powersupply1Fault: |