diff options
Diffstat (limited to 'meta-ibm')
-rw-r--r-- | meta-ibm/conf/machine/swift.conf | 4 | ||||
-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 |
3 files changed, 33 insertions, 0 deletions
diff --git a/meta-ibm/conf/machine/swift.conf b/meta-ibm/conf/machine/swift.conf index 4c0abb57d..e8d6dcc90 100644 --- a/meta-ibm/conf/machine/swift.conf +++ b/meta-ibm/conf/machine/swift.conf @@ -16,3 +16,7 @@ FLASH_SIZE = "131072" FLASH_UBI_RWFS_SIZE ?= "32768" FLASH_UBI_RWFS_TXT_SIZE ?= "32MiB" BMC_RW_SIZE = "0x2000000" + +# Inhibit swift-led-manager-config-native +PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native_df-mrw = \ + "swift-led-manager-config-native" 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: |