meta-facebook: yosemitev2: Add dbus sensor and entity manager
Added dbus-sensors and entity manager packages for yosemiteV2 platform.
Tested : Built Facebook YosemiteV2 images and loaded on
the target hardware. We are able to read temperature,
Adc and mezz sensor values.
(From meta-facebook rev: 9b7491ca408796249045abb85151973724cadb34)
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: Ia9acf270752d602d71008893366a6c2f0badf9bc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-facebook/meta-yosemitev2/conf/machine/yosemitev2.conf b/meta-facebook/meta-yosemitev2/conf/machine/yosemitev2.conf
index 43e156f..45538ab 100644
--- a/meta-facebook/meta-yosemitev2/conf/machine/yosemitev2.conf
+++ b/meta-facebook/meta-yosemitev2/conf/machine/yosemitev2.conf
@@ -16,6 +16,7 @@
obmc-bmc-state-mgmt \
"
PREFERRED_PROVIDER_virtual/obmc-host-ctl ?= ""
+PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-fb-apps"
FLASH_SIZE = "32768"
VIRTUAL-RUNTIME_skeleton_workbook = "${MACHINE}-config"
diff --git a/meta-facebook/meta-yosemitev2/recipes-fbyv2/packagegroups/packagegroup-fb-apps.bb b/meta-facebook/meta-yosemitev2/recipes-fbyv2/packagegroups/packagegroup-fb-apps.bb
new file mode 100644
index 0000000..0cb76d2
--- /dev/null
+++ b/meta-facebook/meta-yosemitev2/recipes-fbyv2/packagegroups/packagegroup-fb-apps.bb
@@ -0,0 +1,19 @@
+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 for Yosemite platform"
+RDEPENDS_${PN}-system = " \
+ entity-manager \
+ dbus-sensors \
+ "
diff --git a/meta-facebook/meta-yosemitev2/recipes.txt b/meta-facebook/meta-yosemitev2/recipes.txt
index 73263d8..c2bc3f0 100644
--- a/meta-facebook/meta-yosemitev2/recipes.txt
+++ b/meta-facebook/meta-yosemitev2/recipes.txt
@@ -1,2 +1,3 @@
recipes-kernel - The kernel and generic applications/libraries with strong kernel dependencies
recipes-bsp - Aspeed BSP with uboot
+recipes-phosphor - Phosphor OpenBMC applications and configuration