[oe-commits] Andreas Müller : lighttpd: inherit systemd / remove unneded systemd code
git at git.openembedded.org
git at git.openembedded.org
Mon Mar 12 07:19:26 UTC 2012
Module: meta-openembedded.git
Branch: master
Commit: e0023c5a6eccdb20e0ecf892fcb5ecc7743b3b0b
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=e0023c5a6eccdb20e0ecf892fcb5ecc7743b3b0b
Author: Andreas Müller <schnitzeltony at googlemail.com>
Date: Fri Mar 9 10:13:55 2012 +0000
lighttpd: inherit systemd / remove unneded systemd code
Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
.../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 b914405..5449b1a 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 @@
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"
More information about the Openembedded-commits
mailing list