mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-17 17:05:55 +00:00
atftp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
parent
9f2dd8c0ae
commit
ca89a23506
@ -3,19 +3,15 @@ SECTION = "network"
|
||||
HOMEPAGE = "http://packages.debian.org/atftp"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||
PR = "r3"
|
||||
PR = "r4"
|
||||
|
||||
SRC_URI = "${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg.orig.tar.gz;name=archive \
|
||||
${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg-11.diff.gz;name=patch \
|
||||
file://atftpd.init \
|
||||
file://atftpd.service"
|
||||
file://atftpd.init"
|
||||
|
||||
S = "${WORKDIR}/atftp-${PV}.dfsg"
|
||||
|
||||
inherit autotools update-rc.d systemd useradd
|
||||
|
||||
SYSTEMD_PACKAGES = "atftpd-systemd"
|
||||
SYSTEMD_SERVICE_atftpd-systemd = "atftpd.service"
|
||||
inherit autotools update-rc.d useradd
|
||||
|
||||
INITSCRIPT_PACKAGES = "${PN}d"
|
||||
INITSCRIPT_NAME_${PN}d = "atftpd"
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
PRINC := "${@int(PRINC) + 1}"
|
||||
|
||||
inherit systemd
|
||||
|
||||
SRC_URI += "file://atftpd.service"
|
||||
|
||||
SYSTEMD_PACKAGES = "atftpd-systemd"
|
||||
SYSTEMD_SERVICE_atftpd-systemd = "atftpd.service"
|
||||
Loading…
x
Reference in New Issue
Block a user