summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor
diff options
context:
space:
mode:
authorNaresh Solanki <naresh.solanki@9elements.com>2023-10-30 12:23:20 +0300
committerAndrew Geissler <geissonator@yahoo.com>2023-11-01 00:45:24 +0300
commitf60804d800b2b1ed887c91b712e21d53828c5aab (patch)
tree3e69fb782a9ef59e27a386a63b6f82685957569e /meta-ibm/recipes-phosphor
parente611bb2bd7712d36b44b92418cd13eacdcdf721c (diff)
downloadopenbmc-f60804d800b2b1ed887c91b712e21d53828c5aab.tar.xz
meta-ibm: sbp1: ipmi-net: Update ALT_RMCPP_IFACE
SBP1 BMC has two network interface i.e., eth0/1. Update ALT_RMCPP_IFACE to eth1. TEST=Build for sbp1, check working of IPMI command: ipmitool -C 17 -H 10.93.130.28 -U root -P 0penBmc -I lanplus \ fru print Change-Id: Ibb2325b7b0760f2dfd1057a908100a98098eb774 Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
Diffstat (limited to 'meta-ibm/recipes-phosphor')
-rw-r--r--meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-net_%.bbappend6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-net_%.bbappend b/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-net_%.bbappend
index e7973c8992..72892d248e 100644
--- a/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-net_%.bbappend
+++ b/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-net_%.bbappend
@@ -11,6 +11,12 @@ SYSTEMD_SERVICE:${PN}:append:system1 = " \
${PN}@${ALT_RMCPP_IFACE}.socket \
"
+ALT_RMCPP_IFACE:sbp1 = "eth1"
+SYSTEMD_SERVICE:${PN}:append:sbp1 = " \
+ ${PN}@${ALT_RMCPP_IFACE}.service \
+ ${PN}@${ALT_RMCPP_IFACE}.socket \
+ "
+
FILESEXTRAPATHS:prepend:p10bmc := "${THISDIR}/${PN}:"
SRC_URI:append:p10bmc = " file://first-boot-disable-ipmi-net.service"
SYSTEMD_SERVICE:${PN}:append:p10bmc = " first-boot-disable-ipmi-net.service"