diff options
3 files changed, 65 insertions, 2 deletions
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json b/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json new file mode 100644 index 000000000..43dbdc93e --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json @@ -0,0 +1,35 @@ +{ + "leds": [ + { + "group": "bmc_booted", + "members": [ + { + "Name": "power", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "On" + }, + { + "Name": "init_ok", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "power_on", + "members": [ + { + "Name": "power", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + } + ] +} diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager_%.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager_%.bbappend new file mode 100644 index 000000000..a122a72fc --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager_%.bbappend @@ -0,0 +1,12 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://led-group-config.json" + +EXTRA_OECONF = "--enable-use_json" + +DEPENDS += "phosphor-dbus-interfaces" + +do_install_append() { + install -d ${D}${datadir}/phosphor-led-manager/ + install -m 0644 ${WORKDIR}/led-group-config.json ${D}${datadir}/phosphor-led-manager/ +} diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend index dc51a013c..9f1c10041 100644 --- a/meta-inspur/meta-fp5280g2/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend @@ -1,2 +1,18 @@ -RDEPENDS_${PN}-inventory_append_fp5280g2 = " openpower-fru-vpd openpower-occ-control phosphor-cooling-type virtual/obmc-gpio-presence" -RDEPENDS_${PN}-extras_append_fp5280g2 = " pldm mctp phosphor-fp5280g2-psu-update phosphor-psu-software-manager phosphor-power phosphor-power-systemd-links phosphor-webui" +RDEPENDS_${PN}-inventory_append_fp5280g2 = " \ + openpower-fru-vpd \ + openpower-occ-control \ + phosphor-cooling-type \ + virtual/obmc-gpio-presence \ + " + +RDEPENDS_${PN}-extras_append_fp5280g2 = " \ + phosphor-led-manager \ + pldm \ + mctp \ + phosphor-fp5280g2-psu-update \ + phosphor-psu-software-manager \ + phosphor-power \ + phosphor-power-systemd-links \ + phosphor-webui \ + " + |