meta-facebook: restructure phosphor default-virtuals
Due to our structure and missing RPROVIDES we were picking up
old python-based implementations of some daemons. Restructure
our conf and package group files to look more like meta-intel,
and point to the proper implementations of services.
(From meta-facebook rev: fbe12f7a42a592be01e2ced7215705ad5261e529)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0995a3d80604f71900222983574f3b29d418fe1b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-facebook/conf/machine/include/facebook.inc b/meta-facebook/conf/machine/include/facebook.inc
new file mode 100644
index 0000000..9b6e3ef
--- /dev/null
+++ b/meta-facebook/conf/machine/include/facebook.inc
@@ -0,0 +1,22 @@
+OBMC_MACHINE_FEATURES += "\
+ obmc-bmc-state-mgmt \
+ obmc-chassis-state-mgmt \
+ obmc-host-ipmi \
+ obmc-host-state-mgmt \
+ obmc-phosphor-chassis-mgmt \
+ obmc-phosphor-fan-mgmt \
+ obmc-phosphor-flash-mgmt \
+ "
+
+VIRTUAL-RUNTIME_skeleton_workbook = "${MACHINE}-config"
+VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control"
+VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control"
+
+PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-fb-apps"
+PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-fb-apps"
+PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-fb-apps"
+PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-kcs"
+PREFERRED_PROVIDER_virtual/obmc-inventory-data ?= "${VIRTUAL-RUNTIME_skeleton_workbook}"
+PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-fb-apps"
+
+OVERRIDES .= ":facebook"