Description: load ipmi_ssif for arm64 and ipmi_powernv for ppc64le arm64 systems use ipmi_ssif and ppc64le systems use ipmi_powernv module, in both cases loading the default ipmi_si module would fail, and the openipmi service would fail to start. This patch loads the correct module for each of those archs, and the service start does not fail. Author: Manoj Iyer Origin: other Bug: https://launchpad.net/bugs/1716517 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/debian/openipmi.init +++ b/debian/openipmi.init @@ -43,7 +43,14 @@ MODULE_NAME="ipmi" INTF_NUM=0 IPMI_SMB_MODULE_NAME="ipmi_smb" -IPMI_SI_MODULE_NAME="ipmi_si" +case $(uname -m) in + "aarch64") + IPMI_SI_MODULE_NAME="ipmi_ssif" ;; + "ppc64le") + IPMI_SI_MODULE_NAME="ipmi_powernv" ;; + *) + IPMI_SI_MODULE_NAME="ipmi_si" ;; +esac kernel=`uname -r | cut -d. -f1-2` if [ "${kernel}" == "2.4" ]; then IPMI_SMB_MODULE_NAME="ipmi_smb_intf"