meta-ampere: mtmitchell: fix WebUI does not work
Accessing WebUI returns Unauthorize message because no webui-vue
available.
This commit fixes the issue by enabling webui-vue in
packagegroup-obmc-apps. Also fixes for other applications like
dbus-sensor, entity-manager.
Tested:
1. Browse the BMC IP via WebUI.
2. Check dbus-sensor and entity-manager works
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Icbed54fc5f45683c52a464ac58f701101fc8ccee
diff --git a/meta-ampere/meta-mitchell/recipes-ampere/packagegroups/packagegroup-obmc-ampere-apps.bb b/meta-ampere/meta-mitchell/recipes-ampere/packagegroups/packagegroup-obmc-ampere-apps.bb
index d1c7e7e..08c59ea 100644
--- a/meta-ampere/meta-mitchell/recipes-ampere/packagegroups/packagegroup-obmc-ampere-apps.bb
+++ b/meta-ampere/meta-mitchell/recipes-ampere/packagegroups/packagegroup-obmc-ampere-apps.bb
@@ -38,16 +38,3 @@
RDEPENDS:${PN}-flash = " \
phosphor-software-manager \
"
-
-RDEPENDS:${PN}-inventory:append = " \
- dbus-sensors \
- entity-manager \
- "
-
-RDEPENDS:${PN}-extras:append = " \
- webui-vue \
- phosphor-virtual-sensor \
- "
-RDEPENDS:${PN}-extras:remove = " phosphor-hwmon"
-
-VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "dbus-sensors"
diff --git a/meta-ampere/meta-mitchell/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend b/meta-ampere/meta-mitchell/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
new file mode 100644
index 0000000..9ba7f52
--- /dev/null
+++ b/meta-ampere/meta-mitchell/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
@@ -0,0 +1,15 @@
+RDEPENDS:${PN}-extras:append = " \
+ webui-vue \
+ phosphor-image-signing \
+ phosphor-virtual-sensor \
+ phosphor-misc-usb-ctrl \
+ "
+
+RDEPENDS:${PN}-inventory:append = " \
+ dbus-sensors \
+ entity-manager \
+ "
+
+RDEPENDS:${PN}-extras:remove = " phosphor-hwmon"
+VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "dbus-sensors"
+RDEPENDS:${PN}-extras:append = " phosphor-virtual-sensor"