# look for files in the layer first FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" PRINC := "${@int(PRINC) + 4}" inherit systemd 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 }