From 1ef7d1a3cdda0b50fca0828be4ba43bab08f1d9b Mon Sep 17 00:00:00 2001 From: Amy Fong Date: Thu, 10 Apr 2014 16:59:00 -0400 Subject: 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 --- meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.33.bbappend | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.33.bbappend (limited to 'meta-openstack/recipes-extended/lighttpd') 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 @@ +INC := "${@int(PRINC) + 1}" + +do_install_append() { + 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 +} -- cgit v1.2.3-54-g00ecf