meta-amd: Enable bmcweb and phosphor-webui
This patch adds phosphor-webui as the GUI and bmcweb as
the back-end for AMD CRBs.
Change-Id: I824a904be6ce41a9da46ace3fc49c3e21793e98e
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
index 090060e..ca6eedb 100644
--- a/recipes-amd/packagegroups/packagegroup-amd-apps.bb
+++ b/recipes-amd/packagegroups/packagegroup-amd-apps.bb
@@ -25,24 +25,14 @@
RDEPENDS_${PN}-chassis = ""
SUMMARY_${PN}-fans = "AMD Fans"
-RDEPENDS_${PN}-fans = " \
- phosphor-pid-control \
- "
+RDEPENDS_${PN}-fans = ""
SUMMARY_${PN}-flash = "AMD Flash"
-RDEPENDS_${PN}-flash = " \
- phosphor-software-manager \
- "
+RDEPENDS_${PN}-flash = ""
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 \
+ bmcweb \
+ phosphor-webui \
"
diff --git a/recipes-phosphor/interfaces/bmcweb_%.bbappend b/recipes-phosphor/interfaces/bmcweb_%.bbappend
new file mode 100644
index 0000000..e009e58
--- /dev/null
+++ b/recipes-phosphor/interfaces/bmcweb_%.bbappend
@@ -0,0 +1,10 @@
+EXTRA_OECMAKE += "-DBMCWEB_ENABLE_KVM=OFF \
+ -DBMCWEB_ENABLE_VM_WEBSOCKET=OFF \
+ -DBMCWEB_ENABLE_DBUS_REST=ON \
+ -DBMCWEB_ENABLE_REDFISH_CPU_LOG=OFF \
+ -DBMCWEB_ENABLE_REDFISH_RAW_PECI=OFF \
+ -DBMCWEB_ENABLE_REDFISH_DBUS_LOG_ENTRIES=ON \
+ -DBMCWEB_INSECURE_DISABLE_XSS_PREVENTION=ON \
+ -DBMCWEB_INSECURE_DISABLE_CSRF_PREVENTION=ON \
+ -DBMCWEB_ENABLE_REDFISH_BMC_JOURNAL=ON "
+