diff options
| -rw-r--r-- | meta-oe/recipes-extended/lighttpd/lighttpd_1.4.30.bbappend | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/meta-oe/recipes-extended/lighttpd/lighttpd_1.4.30.bbappend b/meta-oe/recipes-extended/lighttpd/lighttpd_1.4.30.bbappend index b914405b7e..5449b1a263 100644 --- a/meta-oe/recipes-extended/lighttpd/lighttpd_1.4.30.bbappend +++ b/meta-oe/recipes-extended/lighttpd/lighttpd_1.4.30.bbappend | |||
| @@ -1,16 +1,10 @@ | |||
| 1 | FILESEXTRAPATHS := "${THISDIR}/${PN}" | 1 | FILESEXTRAPATHS := "${THISDIR}/${PN}" |
| 2 | 2 | ||
| 3 | PRINC = "1" | 3 | PRINC = "2" |
| 4 | 4 | ||
| 5 | SRC_URI += "file://lighttpd.service" | 5 | inherit systemd |
| 6 | |||
| 7 | do_install_append() { | ||
| 8 | install -d ${D}${base_libdir}/systemd/systemd/ | ||
| 9 | install -m 0644 ${WORKDIR}/lighttpd.service ${D}${base_libdir}/systemd/systemd/ | ||
| 10 | 6 | ||
| 11 | install -d ${D}${base_libdir}/systemd/systemd/multi-user.target.wants | 7 | SRC_URI += "file://lighttpd.service" |
| 12 | ln -sf ../lighttpd.service ${D}${base_libdir}/systemd/systemd/multi-user.target.wants | ||
| 13 | } | ||
| 14 | |||
| 15 | FILES_${PN} += "${base_libdir}/systemd" | ||
| 16 | 8 | ||
| 9 | SYSTEMD_PACKAGES = "${PN}" | ||
| 10 | SYSTEMD_SERVICE_${PN} = "lighttpd.service" | ||
