mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-13 23:02:13 +00:00
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:
parent
af9aee6804
commit
0b3ee65116
@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=Job spooling tools
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/atd -f
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user