diff options
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-extended/atftp/atftp_0.7.bb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/meta-oe/recipes-extended/atftp/atftp_0.7.bb b/meta-oe/recipes-extended/atftp/atftp_0.7.bb index ab14a28427..6bd44a0c77 100644 --- a/meta-oe/recipes-extended/atftp/atftp_0.7.bb +++ b/meta-oe/recipes-extended/atftp/atftp_0.7.bb | |||
| @@ -3,7 +3,7 @@ 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 = "r1" | 6 | PR = "r2" |
| 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 \ |
| @@ -29,23 +29,17 @@ do_install_append() { | |||
| 29 | install -d ${D}${sysconfdir}/init.d | 29 | install -d ${D}${sysconfdir}/init.d |
| 30 | install -m 0755 ${WORKDIR}/atftpd.init ${D}${sysconfdir}/init.d/atftpd | 30 | install -m 0755 ${WORKDIR}/atftpd.init ${D}${sysconfdir}/init.d/atftpd |
| 31 | 31 | ||
| 32 | install -d ${D}${base_libdir}/systemd/system | ||
| 33 | install -m 644 ${WORKDIR}/atftpd.service ${D}${base_libdir}/systemd/system | ||
| 34 | |||
| 35 | install -d ${D}/srv/tftp | 32 | install -d ${D}/srv/tftp |
| 36 | 33 | ||
| 37 | rm ${D}${sbindir}/in.tftpd | 34 | rm ${D}${sbindir}/in.tftpd |
| 38 | } | 35 | } |
| 39 | 36 | ||
| 40 | PACKAGES =+ "atftpd-systemd atftpd" | 37 | PACKAGES =+ "atftpd" |
| 41 | 38 | ||
| 42 | FILES_${PN} = "${bindir}/*" | 39 | FILES_${PN} = "${bindir}/*" |
| 43 | 40 | ||
| 44 | FILES_${PN}d = "${sbindir}/* ${sysconfdir}/init.d/* /srv/tftp" | 41 | FILES_${PN}d = "${sbindir}/* ${sysconfdir}/init.d/* /srv/tftp" |
| 45 | 42 | ||
| 46 | FILES_atftpd-systemd += "${base_libdir}/systemd" | ||
| 47 | RDEPENDS_atftpd-systemd += "atftpd" | ||
| 48 | |||
| 49 | SRC_URI[archive.md5sum] = "aa269044a6f992eca78fee2f6119643c" | 43 | SRC_URI[archive.md5sum] = "aa269044a6f992eca78fee2f6119643c" |
| 50 | SRC_URI[archive.sha256sum] = "18815f5b67290fac087c6b9da28dfa5e0feb722096f5c5de52e59b46026da559" | 44 | SRC_URI[archive.sha256sum] = "18815f5b67290fac087c6b9da28dfa5e0feb722096f5c5de52e59b46026da559" |
| 51 | SRC_URI[patch.md5sum] = "1636f199bf32c754a7bf34a5c647d138" | 45 | SRC_URI[patch.md5sum] = "1636f199bf32c754a7bf34a5c647d138" |
