diff options
| author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-08-05 21:48:46 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:18:49 +0100 |
| commit | 6c9d66b16f52db6cabe6c1ce4247b31bb058ccfc (patch) | |
| tree | e671b1b8df17b874ac4370d934323f022a70fc85 /meta/recipes-connectivity | |
| parent | 23732f21b9cc261fb6abbd816196aa8579d90de5 (diff) | |
| download | poky-6c9d66b16f52db6cabe6c1ce4247b31bb058ccfc.tar.gz | |
openssh: use ${localstatedir} instead of /var for packaging
It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.
(From OE-Core rev: b7134e8f76026d15a5e35c6a2e5d77d5e48c2787)
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
| -rw-r--r-- | meta/recipes-connectivity/openssh/openssh_6.0p1.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh_6.0p1.bb b/meta/recipes-connectivity/openssh/openssh_6.0p1.bb index 376023c635..8757f82b31 100644 --- a/meta/recipes-connectivity/openssh/openssh_6.0p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_6.0p1.bb | |||
| @@ -7,7 +7,7 @@ SECTION = "console/network" | |||
| 7 | LICENSE = "BSD" | 7 | LICENSE = "BSD" |
| 8 | LIC_FILES_CHKSUM = "file://LICENCE;md5=e326045657e842541d3f35aada442507" | 8 | LIC_FILES_CHKSUM = "file://LICENCE;md5=e326045657e842541d3f35aada442507" |
| 9 | 9 | ||
| 10 | PR = "r2" | 10 | PR = "r3" |
| 11 | 11 | ||
| 12 | DEPENDS = "zlib openssl" | 12 | DEPENDS = "zlib openssl" |
| 13 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 13 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
| @@ -78,7 +78,7 @@ do_install_append () { | |||
| 78 | install -d ${D}${sysconfdir}/init.d | 78 | install -d ${D}${sysconfdir}/init.d |
| 79 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/sshd | 79 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/sshd |
| 80 | rm -f ${D}${bindir}/slogin ${D}${datadir}/Ssh.bin | 80 | rm -f ${D}${bindir}/slogin ${D}${datadir}/Ssh.bin |
| 81 | rmdir ${D}/var/run/sshd ${D}/var/run ${D}/var | 81 | rmdir ${D}${localstatedir}/run/sshd ${D}${localstatedir}/run ${D}${localstatedir} |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | ALLOW_EMPTY_${PN} = "1" | 84 | ALLOW_EMPTY_${PN} = "1" |
