Revert "Disable bmcweb static hosting in IBM layer"
This reverts commit 8891e02efa759bb3173a0985f194c1e9a0bc255b.
openbmc/bmcweb#5 has been fixed. This static hosting is needed
for the RedfishServiceValidator.py to pass.
This adds ~50KB to the obmc-phosphor-image-witherspoon.squashfs-xz
With change:
20570112 Jan 17 16:03 obmc-phosphor-image-witherspoon-20190117213346.rootfs.squashfs-xz
Without change:
20525056 Jan 17 16:12 obmc-phosphor-image-witherspoon-20190117220913.rootfs.squashfs-xz
Tested: Verified bmcweb starts fine and responds to redfish
requests. Verified the GUI works. No longer see the
RedfishServiceValidator error associated with not hosting
the metadata.
Change-Id: I79b94690b55c20a7e96d1940cf644c245f8a0355
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/recipes-phosphor/bmcweb/bmcweb_%.bbappend b/recipes-phosphor/bmcweb/bmcweb_%.bbappend
index 3de4e3c..e3f627f 100644
--- a/recipes-phosphor/bmcweb/bmcweb_%.bbappend
+++ b/recipes-phosphor/bmcweb/bmcweb_%.bbappend
@@ -4,7 +4,7 @@
EXTRA_OECMAKE += "-DBMCWEB_INSECURE_DISABLE_SSL=ON"
# Only need redfish support
-EXTRA_OECMAKE += "-DBMCWEB_ENABLE_KVM=OFF -DBMCWEB_ENABLE_DBUS_REST=OFF -DBMCWEB_ENABLE_STATIC_HOSTING=OFF"
+EXTRA_OECMAKE += "-DBMCWEB_ENABLE_KVM=OFF -DBMCWEB_ENABLE_DBUS_REST=OFF"
# override service and socket file to use nginx
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"