diff options
author | Nagaraju Goruganti <ngorugan@in.ibm.com> | 2018-05-29 12:59:53 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-06-04 20:45:24 +0300 |
commit | a9603e068bdd7b6311d1fcec1e6b62980ac846d8 (patch) | |
tree | 9154cea43577ee79e8bb5f9b8a081c8a0d3ce638 /meta-openbmc-machines/meta-openpower | |
parent | 129fa04f8890b0ab2e4499c43b63de3338415ff3 (diff) | |
download | openbmc-a9603e068bdd7b6311d1fcec1e6b62980ac846d8.tar.xz |
Add witherspoon specific channel.yaml
channel.yaml keeps the info about number of available Ethernet
channels on the given machine.
Resolves openbmc/openbmc#3191
Change-Id: I904e02a96bb6f295c6456b8a8ba26e756c218df0
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower')
2 files changed, 9 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend index 748fa73f5..a314d163b 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend @@ -2,4 +2,9 @@ FILESEXTRAPATHS_append_witherspoon := ":${THISDIR}/${PN}" SRC_URI_append_witherspoon = " \ file://occ_sensors.hardcoded.yaml \ file://hwmon_sensors.hardcoded.yaml \ + file://channel.yaml \ " + +EXTRA_OECONF_append_witherspoon = " \ + CHANNEL_YAML_GEN=${WORKDIR}/channel.yaml \ + " diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/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-witherspoon/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 |