summaryrefslogtreecommitdiffstats
path: root/recipes-demo/native-shell-client/native-shell-client_agldemo.inc
blob: 5e2538ee314386f8312c97fdf0e1205c40fc853f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

SRC_URI += "file://native-shell-client.service"

do_install:append() {
    install -d ${D}${systemd_user_unitdir}/agl-session.target.wants
    install -m0644 ${WORKDIR}/native-shell-client.service ${D}${systemd_user_unitdir}/native-shell-client.service
    ln -s ../native-shell-client.service ${D}${systemd_user_unitdir}/agl-session.target.wants/native-shell-client.service
}

FILES:${PN} += " ${systemd_user_unitdir}"

RCONFLICTS:${PN} = "homescreen"