diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-04 15:26:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-07 14:05:42 +0000 |
commit | 28940eb97d835b45ecbf832f25e94fc1574f25a1 (patch) | |
tree | 7b1c825b988918c50b65081c36f4fa5c780d3a26 /meta/recipes-extended/lighttpd | |
parent | 24fb6217325afbd765a7f49b260470e55143ca3b (diff) | |
download | poky-28940eb97d835b45ecbf832f25e94fc1574f25a1.tar.gz |
lighttpd 1.4.29: rename index.html to avoid clashes with DL_DIR
As Martin Jansa pointed out before, bitbake will silently peek in DL_DIR before FILESPATH and use files from there if found.
The failure mode for lighttpd involves a 404 redirect placing index.html into DL_DIR, which will end up in the lighttpd packages. In my specific case iproute2 hit the linuxfoundation 404 redirect so lighttpd.ipk now serves the linuxfoundation frontpage :)
(From OE-Core rev: 0809f98e995d3a2ce24ad25bade3dcd5154061fd)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/lighttpd')
-rw-r--r-- | meta/recipes-extended/lighttpd/files/index.html.lighttpd (renamed from meta/recipes-extended/lighttpd/files/index.html) | 0 | ||||
-rw-r--r-- | meta/recipes-extended/lighttpd/lighttpd_1.4.29.bb | 6 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/lighttpd/files/index.html b/meta/recipes-extended/lighttpd/files/index.html.lighttpd index cd25bf17b3..cd25bf17b3 100644 --- a/meta/recipes-extended/lighttpd/files/index.html +++ b/meta/recipes-extended/lighttpd/files/index.html.lighttpd | |||
diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.29.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.29.bb index c1d5f81f62..9fdb5f6926 100644 --- a/meta/recipes-extended/lighttpd/lighttpd_1.4.29.bb +++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.29.bb | |||
@@ -16,10 +16,10 @@ RDEPENDS_${PN} += " \ | |||
16 | lighttpd-module-staticfile \ | 16 | lighttpd-module-staticfile \ |
17 | " | 17 | " |
18 | 18 | ||
19 | PR = "r0" | 19 | PR = "r1" |
20 | 20 | ||
21 | SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.bz2 \ | 21 | SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.bz2 \ |
22 | file://index.html \ | 22 | file://index.html.lighttpd \ |
23 | file://lighttpd.conf \ | 23 | file://lighttpd.conf \ |
24 | file://lighttpd \ | 24 | file://lighttpd \ |
25 | " | 25 | " |
@@ -48,7 +48,7 @@ do_install_append() { | |||
48 | install -d ${D}${sysconfdir}/init.d ${D}/www/logs ${D}/www/pages/dav ${D}/www/var | 48 | install -d ${D}${sysconfdir}/init.d ${D}/www/logs ${D}/www/pages/dav ${D}/www/var |
49 | install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d | 49 | install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d |
50 | install -m 0755 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir} | 50 | install -m 0755 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir} |
51 | install -m 0644 ${WORKDIR}/index.html ${D}/www/pages/ | 51 | install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html |
52 | } | 52 | } |
53 | 53 | ||
54 | FILES_${PN} += "${sysconfdir} /www" | 54 | FILES_${PN} += "${sysconfdir} /www" |