aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-ti-bsp/recipes-graphics/libgles/ti-sgx-ddk-um_%.bbappend
blob: 86e353414d45a1c426aa9303c5c6f0da29265cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FILESEXTRAPATHS:append := ":${THISDIR}/${PN}"
FILES:${PN} += "/etc/ti-sgx/"

SRC_URI:append = "\
    file://pvr.service \
"

inherit systemd

SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE:${PN} = "pvr.service"

do_install:append() {
	install -d ${D}${systemd_system_unitdir}
	install -m 0755 ${WORKDIR}/pvr.service ${D}${systemd_system_unitdir}
	install -d ${D}${sysconfdir}/ti-sgx
	install -m 0755 ${D}${sysconfdir}/init.d/rc.pvr ${D}${sysconfdir}/ti-sgx
}