aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-graphical/recipes-graphics/agl-desktop-config/agl-desktop-config_0.1.bb
blob: e0358d6154fcf385394512fc7cb14fee8f078a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "AGL desktop config"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

SRC_URI += " \
    file://user-weston-term.service \
    file://user-weston-term.path \
"

do_install_append() {
    install -d ${D}${systemd_user_unitdir}
    install -m 0644 ${WORKDIR}/user-weston-term.service ${D}${systemd_user_unitdir}
    install -m 0644 ${WORKDIR}/user-weston-term.path ${D}${systemd_user_unitdir}

    install -d ${D}${systemd_user_unitdir}/default.target.wants
    ln -sf ${systemd_user_unitdir}/user-weston-term.path ${D}${libdir}/systemd/user/default.target.wants
}

FILES_${PN} += "${systemd_user_unitdir}/*"
FILES_${PN} += "${systemd_user_unitdir}/default.target.wants/default.target.wants"