summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/lighttpd/lighttpd_1.4.71.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.71.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.71.bb
index 6f62a9a02be..07421eb5604 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.71.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.71.bb
@@ -60,13 +60,15 @@ do_install:append() {
ln -sf ${localstatedir}/tmp ${D}/www/var
}
-FILES:${PN} += "/www"
+PACKAGES =+ "${PN}-site-sample"
+PACKAGES_DYNAMIC += "^lighttpd-module-.*"
+FILES:${PN} += "/www"
CONFFILES:${PN} = "${sysconfdir}/lighttpd/lighttpd.conf"
-PACKAGES_DYNAMIC += "^lighttpd-module-.*"
+FILES:${PN}-site-sample = "/www/pages/"
-RRECOMMENDS:${PN} = "lighttpd-module-dirlisting lighttpd-module-accesslog"
+RRECOMMENDS:${PN} = "lighttpd-module-dirlisting lighttpd-module-accesslog ${PN}-site-sample"
python populate_packages:prepend () {
lighttpd_libdir = d.expand('${prefix}/lib/lighttpd')