blob: 3049a674178e9c1ab5dd751d3496cdd9e43c15d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
SRC_URI_append = "\
file://mapviewer.service \
"
inherit systemd
SYSTEMD_PACKAGES = "${PN}"
do_install_append() {
# Install systemd unit files
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -m 644 -p -D ${WORKDIR}/mapviewer.service ${D}${systemd_system_unitdir}/mapviewer.service
fi
}
FILES_${PN} += " \
${systemd_system_unitdir}/mapviewer.service \
"
|