mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
atftp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
committed by
Koen Kooi
parent
9f2dd8c0ae
commit
ca89a23506
@@ -3,19 +3,15 @@ SECTION = "network"
|
|||||||
HOMEPAGE = "http://packages.debian.org/atftp"
|
HOMEPAGE = "http://packages.debian.org/atftp"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
|
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 \
|
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 \
|
${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg-11.diff.gz;name=patch \
|
||||||
file://atftpd.init \
|
file://atftpd.init"
|
||||||
file://atftpd.service"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/atftp-${PV}.dfsg"
|
S = "${WORKDIR}/atftp-${PV}.dfsg"
|
||||||
|
|
||||||
inherit autotools update-rc.d systemd useradd
|
inherit autotools update-rc.d useradd
|
||||||
|
|
||||||
SYSTEMD_PACKAGES = "atftpd-systemd"
|
|
||||||
SYSTEMD_SERVICE_atftpd-systemd = "atftpd.service"
|
|
||||||
|
|
||||||
INITSCRIPT_PACKAGES = "${PN}d"
|
INITSCRIPT_PACKAGES = "${PN}d"
|
||||||
INITSCRIPT_NAME_${PN}d = "atftpd"
|
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"
|
||||||
Reference in New Issue
Block a user