summaryrefslogtreecommitdiff
path: root/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/webui/phosphor-webui.bbappend
diff options
context:
space:
mode:
authorDave Cobbley <david.j.cobbley@linux.intel.com>2018-08-23 04:40:54 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-08-23 19:39:42 +0300
commit194ff4f1f5d44b12e9cb06ddafa6adb20174a13c (patch)
tree823835cd29daf8901a31ac14c7e6534abf199be3 /meta-openbmc-machines/meta-openpower/common/recipes-phosphor/webui/phosphor-webui.bbappend
parent4feb727cd6b77a68bdaca63e121b378d814f5eaf (diff)
downloadopenbmc-194ff4f1f5d44b12e9cb06ddafa6adb20174a13c.tar.xz
[Subtree] Bring openbmc machines to top level
The new subtree model brings the subtrees up from the openbmc-machines layer. Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0 Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/common/recipes-phosphor/webui/phosphor-webui.bbappend')
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-phosphor/webui/phosphor-webui.bbappend16
1 files changed, 0 insertions, 16 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/webui/phosphor-webui.bbappend b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/webui/phosphor-webui.bbappend
deleted file mode 100644
index ea818947e..000000000
--- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/webui/phosphor-webui.bbappend
+++ /dev/null
@@ -1,16 +0,0 @@
-do_install_append () {
-
-# The webui content is served as pre-compressed gzip content. While nginx can
-# handle this via the gzip_static directive (and we use that), the nginx
-# try_files directive (which we also use) searches the URI as-is. The suggested
-# workaround is to have an empty uncompressed file with the same name as the
-# compressed file. This does not impact the functionality of gzip_static.
-# So for eg if there's an index.html.gz, create an empty index.html. Same goes
-# for all the webui content.
-# https://serverfault.com/questions/571733/nginx-gzip-static-why-are-the-non-compressed-files-required
-# https://www.ruby-forum.com/topic/4402481
-# https://trac.nginx.org/nginx/ticket/1367
-
-find ${D}${datadir}/www -type f -name '*.gz' -exec sh -c 'touch `dirname "$0"`/`basename "$0" .gz`' '{}' \;
-
-}