diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2012-06-10 21:46:47 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-16 09:39:06 +0200 |
commit | ca89a235067f3328ceaa3c7a0a5bb599aaa4b428 (patch) | |
tree | 1f90a4a6a4596c1478a0f68ad6fb87017730bb86 /meta-oe/recipes-extended | |
parent | 9f2dd8c0ae46507989f4cb8f24edc87ed91bebac (diff) | |
download | meta-openembedded-ca89a235067f3328ceaa3c7a0a5bb599aaa4b428.tar.gz |
atftp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/atftp/atftp_0.7.bb | 10 | ||||
-rw-r--r-- | meta-oe/recipes-extended/atftp/files/atftpd.service | 10 |
2 files changed, 3 insertions, 17 deletions
diff --git a/meta-oe/recipes-extended/atftp/atftp_0.7.bb b/meta-oe/recipes-extended/atftp/atftp_0.7.bb index 1af4b63294..ff1e11dcfa 100644 --- a/meta-oe/recipes-extended/atftp/atftp_0.7.bb +++ b/meta-oe/recipes-extended/atftp/atftp_0.7.bb | |||
@@ -3,19 +3,15 @@ SECTION = "network" | |||
3 | HOMEPAGE = "http://packages.debian.org/atftp" | 3 | HOMEPAGE = "http://packages.debian.org/atftp" |
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" |
6 | PR = "r3" | 6 | PR = "r4" |
7 | 7 | ||
8 | SRC_URI = "${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg.orig.tar.gz;name=archive \ | 8 | SRC_URI = "${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg.orig.tar.gz;name=archive \ |
9 | ${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg-11.diff.gz;name=patch \ | 9 | ${DEBIAN_MIRROR}/main/a/atftp/atftp_${PV}.dfsg-11.diff.gz;name=patch \ |
10 | file://atftpd.init \ | 10 | file://atftpd.init" |
11 | file://atftpd.service" | ||
12 | 11 | ||
13 | S = "${WORKDIR}/atftp-${PV}.dfsg" | 12 | S = "${WORKDIR}/atftp-${PV}.dfsg" |
14 | 13 | ||
15 | inherit autotools update-rc.d systemd useradd | 14 | inherit autotools update-rc.d useradd |
16 | |||
17 | SYSTEMD_PACKAGES = "atftpd-systemd" | ||
18 | SYSTEMD_SERVICE_atftpd-systemd = "atftpd.service" | ||
19 | 15 | ||
20 | INITSCRIPT_PACKAGES = "${PN}d" | 16 | INITSCRIPT_PACKAGES = "${PN}d" |
21 | INITSCRIPT_NAME_${PN}d = "atftpd" | 17 | INITSCRIPT_NAME_${PN}d = "atftpd" |
diff --git a/meta-oe/recipes-extended/atftp/files/atftpd.service b/meta-oe/recipes-extended/atftp/files/atftpd.service deleted file mode 100644 index 480bc702e9..0000000000 --- a/meta-oe/recipes-extended/atftp/files/atftpd.service +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | [Unit] | ||
2 | Description=Advanced TFTP Server | ||
3 | After=syslog.target network.target | ||
4 | |||
5 | [Service] | ||
6 | Type=forking | ||
7 | ExecStart=/usr/sbin/atftpd --daemon --port 69 | ||
8 | |||
9 | [Install] | ||
10 | WantedBy=multi-user.target | ||