at: systemd support now in OE-Core

systemd support has already been added to the OE-Core at recipe based on
this file (in the dizzy branch).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Paul Eggleton
2014-11-26 11:47:33 +00:00
committed by Martin Jansa
parent af9aee6804
commit 0b3ee65116
2 changed files with 0 additions and 21 deletions

View File

@@ -1,9 +0,0 @@
[Unit]
Description=Job spooling tools
After=syslog.target
[Service]
ExecStart=/usr/sbin/atd -f
[Install]
WantedBy=multi-user.target

View File

@@ -1,16 +1,4 @@
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
}