aboutsummaryrefslogtreecommitdiffstats
path: root/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend
blob: 8f45f3ee52c51c45d0b917e0b91daaffaa7c86c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# look for files in the layer first
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

inherit systemd

RPROVIDES_${PN} += "${PN}-systemd"
RREPLACES_${PN} += "${PN}-systemd"
RCONFLICTS_${PN} += "${PN}-systemd"
SYSTEMD_SERVICE_${PN} = "crond.service"

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

do_install_append() {
    install -d ${D}${systemd_unitdir}/system
    install -m 0644 ${WORKDIR}/crond.service ${D}${systemd_unitdir}/system
}