meta-quanta: gbs: add package groups
1. add packagegroup setting(Fan, Chassis, Flash) for GBS
2. remove unused package obmc-ikvm
3. add phosphor-gpio-monitor
(From meta-quanta rev: 72cdf91caaca91ebab24f30f37a1a8640fa7cb8e)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I814a6f15e88a8032b0592376aa8cb1316a36f24c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/packagegroups/packagegroup-gbs-apps.bb b/meta-quanta/meta-gbs/recipes-phosphor/packagegroups/packagegroup-gbs-apps.bb
new file mode 100644
index 0000000..2be8c51
--- /dev/null
+++ b/meta-quanta/meta-gbs/recipes-phosphor/packagegroups/packagegroup-gbs-apps.bb
@@ -0,0 +1,34 @@
+SUMMARY = "OpenBMC for GBS system - Applications"
+PR = "r1"
+
+inherit packagegroup
+
+PROVIDES = "${PACKAGES}"
+PACKAGES = " \
+ ${PN}-chassis \
+ ${PN}-fans \
+ ${PN}-flash \
+ "
+
+PROVIDES += "virtual/obmc-chassis-mgmt"
+PROVIDES += "virtual/obmc-fan-mgmt"
+PROVIDES += "virtual/obmc-flash-mgmt"
+
+RPROVIDES_${PN}-chassis += "virtual-obmc-chassis-mgmt"
+RPROVIDES_${PN}-fans += "virtual-obmc-fan-mgmt"
+RPROVIDES_${PN}-flash += "virtual-obmc-flash-mgmt"
+
+SUMMARY_${PN}-chassis = "GBS Chassis"
+RDEPENDS_${PN}-chassis = " \
+ x86-power-control \
+ "
+
+SUMMARY_${PN}-fans = "GBS Fans"
+RDEPENDS_${PN}-fans = " \
+ phosphor-pid-control \
+ "
+
+SUMMARY_${PN}-flash = "GBS Flash"
+RDEPENDS_${PN}-flash = " \
+ phosphor-ipmi-flash \
+ "
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/packagegroups/packagegroup-obmc-apps%.bbappend b/meta-quanta/meta-gbs/recipes-phosphor/packagegroups/packagegroup-obmc-apps%.bbappend
new file mode 100644
index 0000000..935c3ce
--- /dev/null
+++ b/meta-quanta/meta-gbs/recipes-phosphor/packagegroups/packagegroup-obmc-apps%.bbappend
@@ -0,0 +1,2 @@
+RDEPENDS_${PN}-extras_remove_gbs = "obmc-ikvm"
+RDEPENDS_${PN}-inventory_append_gbs = " virtual/obmc-gpio-presence"