mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-21 13:50:22 +00:00
lighttpd: inherit systemd / remove unneded systemd code
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
5b45051bca
commit
e0023c5a6e
@ -1,16 +1,10 @@
|
||||
FILESEXTRAPATHS := "${THISDIR}/${PN}"
|
||||
|
||||
PRINC = "1"
|
||||
PRINC = "2"
|
||||
|
||||
inherit systemd
|
||||
|
||||
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/
|
||||
|
||||
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"
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}"
|
||||
SYSTEMD_SERVICE_${PN} = "lighttpd.service"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user