diff options
author | Lei YU <mine260309@gmail.com> | 2018-08-02 09:29:06 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-21 22:38:37 +0300 |
commit | 7a0b8a16b2ba10998d551cf80f7cd10b38b9179b (patch) | |
tree | 8d06f0deba250764cde4fb214bafd47807acaa8e /meta-openbmc-machines | |
parent | ef18a48d23e7fcaef501166b0766680519846272 (diff) | |
download | openbmc-7a0b8a16b2ba10998d551cf80f7cd10b38b9179b.tar.xz |
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 <mine260309@gmail.com>
Diffstat (limited to 'meta-openbmc-machines')
2 files changed, 12 insertions, 0 deletions
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 0000000000..d3f84319e0 --- /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 0000000000..627f4965f0 --- /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 |