mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
atftp: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=Advanced TFTP Server
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/atftpd --daemon --port 69
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,19 +0,0 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
PRINC := "${@int(PRINC) + 2}"
|
||||
|
||||
inherit systemd
|
||||
|
||||
SRC_URI += "file://atftpd.service"
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}d"
|
||||
SYSTEMD_SERVICE_${PN}d = "atftpd.service"
|
||||
FILES_${PN}d += "${systemd_unitdir}/system/atftpd.service"
|
||||
RPROVIDES_${PN}d += "${PN}d-systemd"
|
||||
RREPLACES_${PN}d += "${PN}d-systemd"
|
||||
RCONFLICTS_${PN}d += "${PN}d-systemd"
|
||||
do_install_append() {
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/atftpd.service ${D}${systemd_unitdir}/system
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user