meta-facebook: remove IPMI hw from multihost systems
All meta-facebook systems use ipmb to interact with the OCP
debug card. The multi-host machines also use ipmb to talk with
the BIC, but the 'ipmi-ipmb' package is not considered an 'ipmi-hw'
package (because it is often installed as an addition). The single
host machine(s) use 'ipmi-kcs'.
Rearrange the inc file specifications so that the multi-host systems
do not get the 'ipmi-kcs' package.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I756984d32d424dd0b08a44b434318ccee6672889
diff --git a/meta-facebook/conf/machine/include/facebook-compute-singlehost.inc b/meta-facebook/conf/machine/include/facebook-compute-singlehost.inc
index 7b642c3..6a71182 100644
--- a/meta-facebook/conf/machine/include/facebook-compute-singlehost.inc
+++ b/meta-facebook/conf/machine/include/facebook-compute-singlehost.inc
@@ -1,3 +1,6 @@
MACHINEOVERRIDES =. "fb-compute-singlehost:"
require conf/machine/include/facebook-compute.inc
+
+MACHINE_FEATURES:append = " obmc-host-ipmi"
+PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-kcs"