summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEsben Haabendal <eha@doredevelopment.dk>2007-11-08 12:27:09 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-11-08 12:27:09 +0000
commitc89abfa090fbe718350651c2c80b8219fb05f0ea (patch)
tree776956a3237855e80466f8c4ff64dc8f4ae7079b
parentf1edd8991f16eb0305bdd301f5bc73e7f177cebd (diff)
apache2: Use WORKDIR path to access apache2 init script - close #3226
-rw-r--r--packages/apache2/apache2_2.2.3.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/apache2/apache2_2.2.3.bb b/packages/apache2/apache2_2.2.3.bb
index ddc4131dae..b6ec8f81f9 100644
--- a/packages/apache2/apache2_2.2.3.bb
+++ b/packages/apache2/apache2_2.2.3.bb
@@ -10,7 +10,8 @@ SRC_URI = "http://apache.mirrors.tds.net/httpd/httpd-2.2.3.tar.bz2 \
file://apr-sockets-patch;patch=1 \
file://configure-patch;patch=1 \
file://server-makefile-patch;patch=1 \
- file://configure-fix-cross-compile-ptr-check.patch;patch=1"
+ file://configure-fix-cross-compile-ptr-check.patch;patch=1 \
+ file://init"
#
# over-ride needed since apache unpacks into httpd
@@ -93,7 +94,7 @@ do_configure() {
do_install_append() {
install -d ${D}/${sysconfdir}/init.d
- cat ${FILESDIR}/../files/init | \
+ cat ${WORKDIR}/init | \
sed -e 's,/usr/sbin/,${sbindir}/,g' \
-e 's,/usr/bin/,${bindir}/,g' \
-e 's,/usr/lib,${libdir}/,g' \