diff options
Diffstat (limited to 'meta/recipes-connectivity/openssh')
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh_6.4p1.bb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh_6.4p1.bb b/meta/recipes-connectivity/openssh/openssh_6.4p1.bb index 859fdd615e..b9a7580fdc 100644 --- a/meta/recipes-connectivity/openssh/openssh_6.4p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_6.4p1.bb | |||
@@ -80,13 +80,11 @@ do_compile_append () { | |||
80 | } | 80 | } |
81 | 81 | ||
82 | do_install_append () { | 82 | do_install_append () { |
83 | for i in ${DISTRO_FEATURES}; | 83 | if [ "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then |
84 | do | 84 | install -d ${D}${sysconfdir}/pam.d |
85 | if [ ${i} = "pam" ]; then | 85 | install -m 0755 ${WORKDIR}/sshd ${D}${sysconfdir}/pam.d/sshd |
86 | install -d ${D}${sysconfdir}/pam.d | 86 | fi |
87 | install -m 0755 ${WORKDIR}/sshd ${D}${sysconfdir}/pam.d/sshd | 87 | |
88 | fi | ||
89 | done | ||
90 | install -d ${D}${sysconfdir}/init.d | 88 | install -d ${D}${sysconfdir}/init.d |
91 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/sshd | 89 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/sshd |
92 | rm -f ${D}${bindir}/slogin ${D}${datadir}/Ssh.bin | 90 | rm -f ${D}${bindir}/slogin ${D}${datadir}/Ssh.bin |