Comments
Patch
@@ -1,16 +1,10 @@
FILESEXTRAPATHS := "${THISDIR}/${PN}"
-PRINC = "1"
+PRINC = "2"
-SRC_URI += "file://lighttpd.service"
-
-do_install_append() {
- install -d ${D}${base_libdir}/systemd/systemd/
- install -m 0644 ${WORKDIR}/lighttpd.service ${D}${base_libdir}/systemd/systemd/
+inherit systemd
- install -d ${D}${base_libdir}/systemd/systemd/multi-user.target.wants
- ln -sf ../lighttpd.service ${D}${base_libdir}/systemd/systemd/multi-user.target.wants
-}
-
-FILES_${PN} += "${base_libdir}/systemd"
+SRC_URI += "file://lighttpd.service"
+SYSTEMD_PACKAGES = "${PN}"
+SYSTEMD_SERVICE_${PN} = "lighttpd.service"
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> --- .../lighttpd/lighttpd_1.4.30.bbappend | 16 +++++----------- 1 files changed, 5 insertions(+), 11 deletions(-)