blob: 93b96009dcfb789d915a47c86b0ee452f9b14364 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
FILESEXTRAPATHS_append := ":${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
}
|