blob: 2e63c69e8a3b8b86f8c6c00d071bf38795a0ebdb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
inherit systemd
PRINC := "${@int(PRINC) + 1}"
# look for files in the layer first
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://atd.service"
SYSTEMD_PACKAGES = "${PN}"
RPROVIDES_${PN} += "${PN}-systemd"
SYSTEMD_SERVICE_${PN} = "atd.service"
do_install_append() {
install -d ${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/atd.service ${D}${systemd_unitdir}/system
}
|