blob: b914405b7eae625b2b71efc8216652e895cb9f5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
FILESEXTRAPATHS := "${THISDIR}/${PN}"
PRINC = "1"
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"
|