aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
blob: ca1e3d7b0b033a6c11cca6fc5f975183e793dbc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PRINC := "${@int(PRINC) + 5}"

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
}