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>
diff --git a/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend b/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend
new file mode 100644
index 0000000..d3f8431
--- /dev/null
+++ b/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-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml b/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml
new file mode 100644
index 0000000..627f496
--- /dev/null
+++ b/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