meta-ampere: move packagegroup to common

This moves packagegroup to common to be used for all platforms.

Tested:
- All packages are available on RootFs
- ipmi sensor, fru report
- Web login
- Power control

Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Change-Id: I87f7ddbd94e9321e452353ed21cacd0f8a4d8f74
diff --git a/meta-ampere/meta-common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend b/meta-ampere/meta-common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
new file mode 100644
index 0000000..e81e3bf
--- /dev/null
+++ b/meta-ampere/meta-common/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
@@ -0,0 +1,24 @@
+RDEPENDS:${PN}-extras:append = " \
+                                phosphor-image-signing \
+                                phosphor-virtual-sensor \
+                                phosphor-misc-usb-ctrl \
+                                phosphor-gpio-monitor-monitor \
+                                phosphor-skeleton-control-power \
+                                phosphor-hostlogger \
+                                phosphor-sel-logger \
+                                phosphor-logging \
+                                phosphor-post-code-manager \
+                                phosphor-host-postd \
+                                phosphor-software-manager \
+                                obmc-phosphor-buttons-signals \
+                                obmc-phosphor-buttons-handler \
+                                smbios-mdr \
+                               "
+
+RDEPENDS:${PN}-inventory:append = " \
+                                   dbus-sensors \
+                                   entity-manager \
+                                  "
+
+RDEPENDS:${PN}-extras:remove = " phosphor-hwmon"
+VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "dbus-sensors"