Disable kvm and vm-websocket for p10bmc, tacoma
Note: for witherspoon systems these options are still enabled
Tested:
1) Build works for both p10bmc and tacoma
2) Web sockets did not appear and Redfish output was as desired
Signed-off-by: Ali Ahmed <ama213000@gmail.com>
Change-Id: I0aa710433455b4ca5f17012ecd867846d87a3cfb
diff --git a/meta-ibm/recipes-phosphor/interfaces/bmcweb_%.bbappend b/meta-ibm/recipes-phosphor/interfaces/bmcweb_%.bbappend
index 86a0ec2..1c1ebfb 100644
--- a/meta-ibm/recipes-phosphor/interfaces/bmcweb_%.bbappend
+++ b/meta-ibm/recipes-phosphor/interfaces/bmcweb_%.bbappend
@@ -5,11 +5,19 @@
-Dredfish-dump-log=enabled \
"
+EXTRA_OEMESON:append:p10bmc += " \
+ -Dmutual-tls-auth=disabled \
+ -Dkvm=disabled \
+ -Dvm-websocket=disabled \
+"
+
+EXTRA_OEMESON:append:witherspoon-tacoma += " \
+ -Dmutual-tls-auth=disabled \
+ -Dkvm=disabled \
+ -Dvm-websocket=disabled \
+"
+
inherit obmc-phosphor-discovery-service
-EXTRA_OEMESON:append:p10bmc = " -Dmutual-tls-auth=disabled"
-
-EXTRA_OEMESON:append:witherspoon-tacoma = "-Dmutual-tls-auth=disabled"
-
REGISTERED_SERVICES:${PN} += "obmc_redfish:tcp:443:"
REGISTERED_SERVICES:${PN} += "obmc_rest:tcp:443:"