diff options
| -rw-r--r-- | meta-oe/recipes-extended/atftp/atftp_0.7.bb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta-oe/recipes-extended/atftp/atftp_0.7.bb b/meta-oe/recipes-extended/atftp/atftp_0.7.bb index c5416341f2..ab14a28427 100644 --- a/meta-oe/recipes-extended/atftp/atftp_0.7.bb +++ b/meta-oe/recipes-extended/atftp/atftp_0.7.bb | |||
| @@ -3,6 +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 | 7 | ||
| 7 | 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 \ |
| 8 | ${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 \ |
| @@ -16,11 +17,12 @@ inherit autotools update-rc.d systemd useradd | |||
| 16 | SYSTEMD_PACKAGES = "atftpd-systemd" | 17 | SYSTEMD_PACKAGES = "atftpd-systemd" |
| 17 | SYSTEMD_SERVICE_atftpd-systemd = "atftpd.service" | 18 | SYSTEMD_SERVICE_atftpd-systemd = "atftpd.service" |
| 18 | 19 | ||
| 19 | INITSCRIPT_NAME = "atftpd" | 20 | INITSCRIPT_PACKAGES = "${PN}d" |
| 20 | INITSCRIPT_PARAMS = "defaults 80" | 21 | INITSCRIPT_NAME_${PN}d = "atftpd" |
| 22 | INITSCRIPT_PARAMS_${PN}d = "defaults 80" | ||
| 21 | 23 | ||
| 22 | USERADD_PACKAGES = "atftpd" | 24 | USERADD_PACKAGES = "${PN}d" |
| 23 | USERADD_PARAM_atftpd = "--system --no-create-home --shell /bin/false \ | 25 | USERADD_PARAM_${PN}d = "--system --no-create-home --shell /bin/false \ |
| 24 | --user-group nobody" | 26 | --user-group nobody" |
| 25 | 27 | ||
| 26 | do_install_append() { | 28 | do_install_append() { |
