aboutsummaryrefslogtreecommitdiffstats
path: root/meta-systemd/oe-core/recipes-extended/at/at_3.1.14.bbappend
blob: 3a22fe3bda26e36115e6c64b3c9e8f26ea593c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
inherit systemd

# look for files in the layer first
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI += "file://atd.service"

RPROVIDES_${PN} += "${PN}-systemd"
RREPLACES_${PN} += "${PN}-systemd"
RCONFLICTS_${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
}