From 3a81465255b76f2e917a8640ee401b39eda99a00 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Fri, 28 Sep 2018 14:15:49 -0700 Subject: meta-ibm: remove nginx from IBM platforms. Nginx on OpenBMC has a number of issues that matter to openbmc. 1. It increases the binary size. This is an issue given that OpenBMC targets a relatively minimal flash footprint. 2. It increases the runtime overhead. Running nginx as a reverse proxy to the application servers causes a runtime overhead, and context switch for every single page load, as well as an extra socket. 3. nginx doesn't implement any kind of authentication, so auth needs to be implemented in every application server. This removes a lot of the advantages of the reverse proxy, and duplicates a lot of code amongst multiple application servers 4. A number of nginx parameters run from the nginx config file. Some of these parameters (like cipher suite support) are desired to be changed at runtime, rather than fixed at compile time. Related to commit here to move system to bmcweb: https://gerrit.openbmc-project.xyz/#/c/openbmc/meta-phosphor/+/12933/ (From meta-ibm rev: b6639a209f0089864bef4fc86dcad97880bce682) Change-Id: I21848eb3a8dfa85968c6c96d6a78f5145402db1d Signed-off-by: Ed Tanous (cherry picked from commit 699e296eb0dbd421bcb2fff4be9d446f47ae7195) Signed-off-by: Brad Bishop --- .../recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta-ibm/recipes-phosphor/packagegroups') diff --git a/meta-ibm/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend b/meta-ibm/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend index 0b0a9c9f2..27c647a07 100644 --- a/meta-ibm/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend +++ b/meta-ibm/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend @@ -1,2 +1,3 @@ RDEPENDS_${PN}-logging += "ibm-logging" -RDEPENDS_${PN}-extras += "nginx bmcweb" +RDEPENDS_${PN}-extras += " bmcweb" +RDEPENDS_${PN}-remove += " phosphor-rest phosphor-gevent" -- cgit v1.2.3