summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-mediacenter/kodi/kodi-startup.bb
blob: 955d02bf7fefaeb6c52a9b83c941eac7addfaefd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SUMMARY = "Systemd service for kodi startup"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"

PV = "1.0"

SRC_URI = "file://kodi.service"

inherit systemd

do_install() {
	install -d ${D}/lib/systemd/system
	install -m 0644 ${WORKDIR}/kodi.service ${D}/lib/systemd/system/ 
}

SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "kodi.service"

RDEPENDS_${PN} += "xinit kodi"