From 7a0b8a16b2ba10998d551cf80f7cd10b38b9179b Mon Sep 17 00:00:00 2001 From: Lei YU Date: Thu, 2 Aug 2018 14:29:06 +0800 Subject: meta-romulus: Add ipmi channel.yaml In phosphor-ipmi-host, channel.yaml sets the info about number of available Ethernet channels. Romulus has eth0 only. Tested: Verify the generated channel-gen.cpp reflects this yaml config. Change-Id: I902f6b0adb6066ad2c4f1654a4614bbf012e36a5 Signed-off-by: Lei YU --- .../recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend | 8 ++++++++ .../recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml | 4 ++++ 2 files changed, 12 insertions(+) create mode 100644 meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend create mode 100644 meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend new file mode 100644 index 000000000..d3f84319e --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend @@ -0,0 +1,8 @@ +FILESEXTRAPATHS_append_romulus := ":${THISDIR}/${PN}" +SRC_URI_append_romulus = " \ + file://channel.yaml \ + " + +EXTRA_OECONF_append_romulus = " \ + CHANNEL_YAML_GEN=${WORKDIR}/channel.yaml \ + " diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml new file mode 100644 index 000000000..627f4965f --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml @@ -0,0 +1,4 @@ +# Channel Number (must be unique) is the key +1: + # ifName the ethernet device name (used in the dbus path) + ifName: eth0 -- cgit v1.2.1