summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-extended/lighttpd
diff options
context:
space:
mode:
authorAmy Fong <amy.fong@windriver.com>2014-04-10 16:59:00 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-04-11 00:25:52 -0400
commit1ef7d1a3cdda0b50fca0828be4ba43bab08f1d9b (patch)
treec8d66207f44d0219eda793a88d905517fab72cea /meta-openstack/recipes-extended/lighttpd
parent9395fc249df9d6d25295c19a042eb43c9ebe0ca9 (diff)
downloadmeta-cloud-services-1ef7d1a3cdda0b50fca0828be4ba43bab08f1d9b.tar.gz
lighttpd change apply to 1.4.33
Yocto has verion 1.4.33, add a bbappend for that verison (wrlinux uses 1.4.30) Signed-off-by: Amy Fong <amy.fong@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-extended/lighttpd')
-rw-r--r--meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.33.bbappend5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.33.bbappend b/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.33.bbappend
new file mode 100644
index 0000000..50fab9f
--- /dev/null
+++ b/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.33.bbappend
@@ -0,0 +1,5 @@
1INC := "${@int(PRINC) + 1}"
2
3do_install_append() {
4 sed -i '2i port=`grep "^server.port" /etc/lighttpd.conf`; if [ -z $port ]; then echo "server port not configured, not running lighttpd..."; exit 0; fi' ${D}/etc/init.d/lighttpd
5}