[meta-virtualization] [m-c-s][PATCH 04/11] meta-openstack: add wildcard to lighttpd bbappend

Mark Asselstine mark.asselstine at windriver.com
Wed Aug 5 13:29:45 PDT 2015


This is currently a dangling bbappend as lighttpd is now version
1.4.36. The changes found in this bbappend only apply to the sysvinit
scripts and should most likely be replicated in systemd. For the sake
of keeping this series focused on dealing with dangling bbappends I am
simply renaming the bbappend for now, without modifying its content.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.%.bbappend  | 3 +++
 meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.35.bbappend | 3 ---
 2 files changed, 3 insertions(+), 3 deletions(-)
 create mode 100644 meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.%.bbappend
 delete mode 100644 meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.35.bbappend

diff --git a/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.%.bbappend b/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.%.bbappend
new file mode 100644
index 0000000..33b1f61
--- /dev/null
+++ b/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.%.bbappend
@@ -0,0 +1,3 @@
+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
+}
diff --git a/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.35.bbappend b/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.35.bbappend
deleted file mode 100644
index 33b1f61..0000000
--- a/meta-openstack/recipes-extended/lighttpd/lighttpd_1.4.35.bbappend
+++ /dev/null
@@ -1,3 +0,0 @@
-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
-}
-- 
2.1.4



More information about the meta-virtualization mailing list