meta-amd: Define OpenBMC AMD package group applications.
This patch configures the AMD or Phosphor applications that provide
Chassis Management, Fan Management, Flash Management and System
Management.
Change-Id: I33610d0a04e82b0a07908600a0279d5fc62937e4
Signed-off-by: Supreeth Venkatesh <supreeth.venkatesh@amd.com>
diff --git a/recipes-amd/packagegroups/packagegroup-amd-apps.bb b/recipes-amd/packagegroups/packagegroup-amd-apps.bb
new file mode 100644
index 0000000..090060e
--- /dev/null
+++ b/recipes-amd/packagegroups/packagegroup-amd-apps.bb
@@ -0,0 +1,48 @@
+SUMMARY = "OpenBMC for AMD - Applications"
+PR = "r1"
+
+inherit packagegroup
+
+PROVIDES = "${PACKAGES}"
+PACKAGES = " \
+ ${PN}-chassis \
+ ${PN}-fans \
+ ${PN}-flash \
+ ${PN}-system \
+ "
+
+PROVIDES += "virtual/obmc-chassis-mgmt"
+PROVIDES += "virtual/obmc-fan-mgmt"
+PROVIDES += "virtual/obmc-flash-mgmt"
+PROVIDES += "virtual/obmc-system-mgmt"
+
+RPROVIDES_${PN}-chassis += "virtual-obmc-chassis-mgmt"
+RPROVIDES_${PN}-fans += "virtual-obmc-fan-mgmt"
+RPROVIDES_${PN}-flash += "virtual-obmc-flash-mgmt"
+RPROVIDES_${PN}-system += "virtual-obmc-system-mgmt"
+
+SUMMARY_${PN}-chassis = "AMD Chassis"
+RDEPENDS_${PN}-chassis = ""
+
+SUMMARY_${PN}-fans = "AMD Fans"
+RDEPENDS_${PN}-fans = " \
+ phosphor-pid-control \
+ "
+
+SUMMARY_${PN}-flash = "AMD Flash"
+RDEPENDS_${PN}-flash = " \
+ phosphor-software-manager \
+ "
+
+SUMMARY_${PN}-system = "AMD System"
+RDEPENDS_${PN}-system = " \
+ entity-manager \
+ dbus-sensors \
+ amd-powerctrl \
+ phosphor-ipmi-ipmb \
+ phosphor-hostlogger \
+ phosphor-sel-logger \
+ ipmitool \
+ phosphor-post-code-manager \
+ phosphor-host-postd \
+ "