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

PRINC := "${@int(PRINC) + 3}"

inherit systemd

SYSTEMD_PACKAGES = "${PN}"
RPROVIDES_${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
}