Add Entity Manager to Facebook Tiogapass
Added entity manager to Facebook Tiogapass
Tested: Build Facebook TiogaPass board and load on the
target hardware. Ensure that all FRU informations are
displayed.
Change-Id: I51e8600ad4cec2982943f799e9213bc8e2e9f44e
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
diff --git a/meta-tiogapass/conf/machine/tiogapass.conf b/meta-tiogapass/conf/machine/tiogapass.conf
index cc4e3be..ee84c5d 100644
--- a/meta-tiogapass/conf/machine/tiogapass.conf
+++ b/meta-tiogapass/conf/machine/tiogapass.conf
@@ -17,6 +17,7 @@
obmc-bmc-state-mgmt \
"
PREFERRED_PROVIDER_virtual/obmc-host-ctl ?= "obmc-op-control-host"
+PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-fb-apps"
FLASH_SIZE = "32768"
VIRTUAL-RUNTIME_skeleton_workbook = "${MACHINE}-config"
diff --git a/meta-tiogapass/recipes-fbtp/packagegroups/packagegroup-fb-apps.bb b/meta-tiogapass/recipes-fbtp/packagegroups/packagegroup-fb-apps.bb
new file mode 100644
index 0000000..2920b02
--- /dev/null
+++ b/meta-tiogapass/recipes-fbtp/packagegroups/packagegroup-fb-apps.bb
@@ -0,0 +1,18 @@
+SUMMARY = "OpenBMC for Facebook - Applications"
+PR = "r1"
+
+inherit packagegroup
+
+PROVIDES = "${PACKAGES}"
+PACKAGES = " \
+ ${PN}-system \
+ "
+
+PROVIDES += "virtual/obmc-system-mgmt"
+
+RPROVIDES_${PN}-system += "virtual-obmc-system-mgmt"
+
+SUMMARY_${PN}-system = "Facebook System"
+RDEPENDS_${PN}-system = " \
+ entity-manager \
+ "