blob: 28ccefee9ce0c3431763b25bf0d9e10cb2fb13a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
FILESEXTRAPATHS := "${THISDIR}/${PN}"
inherit systemd
SYSTEMD_SERVICE = "X.service"
SRC_URI_append = " file://X.service \
"
do_install_append() {
if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/X.service ${D}${systemd_unitdir}/system
fi
}
|