summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-ibm/recipes-phosphor/interfaces/bmcweb_%.bbappend4
-rw-r--r--meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb3
2 files changed, 4 insertions, 3 deletions
diff --git a/meta-ibm/recipes-phosphor/interfaces/bmcweb_%.bbappend b/meta-ibm/recipes-phosphor/interfaces/bmcweb_%.bbappend
index 40cb81692f..16ef554e3c 100644
--- a/meta-ibm/recipes-phosphor/interfaces/bmcweb_%.bbappend
+++ b/meta-ibm/recipes-phosphor/interfaces/bmcweb_%.bbappend
@@ -8,16 +8,16 @@ EXTRA_OEMESON:append = " \
"
EXTRA_OEMESON:append:p10bmc = " \
- -Dmutual-tls-auth=disabled \
-Dkvm=disabled \
-Dvm-websocket=disabled \
"
+PACKAGECONFIG:remove:p10bmc = "mutual-tls-auth"
EXTRA_OEMESON:append:witherspoon-tacoma = " \
- -Dmutual-tls-auth=disabled \
-Dkvm=disabled \
-Dvm-websocket=disabled \
"
+PACKAGECONFIG:remove:witherspoon-tacoma = "mutual-tls-auth"
EXTRA_OEMESON:append:system1 = " \
-Dhttp-body-limit=400 \
diff --git a/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb b/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb
index c444202f1b..a61a14af79 100644
--- a/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb
+++ b/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb
@@ -28,8 +28,9 @@ inherit systemd
inherit useradd
inherit pkgconfig meson ptest
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "mutual-tls-auth"
PACKAGECONFIG[insecure-redfish-expand]="-Dinsecure-enable-redfish-query=enabled"
+PACKAGECONFIG[mutual-tls-auth]="-Dmutual-tls-auth=enabled,-Dmutual-tls-auth=disabled"
EXTRA_OEMESON = " \
--buildtype=minsize \