aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-connectivity/openssh/openssh_7.%.bbappend
blob: bfc543aac8c0d3a7d49b68b95d80e583f2179152 (plain)
1
2
3
4
5
6
7
8
9
10
11
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += "file://mcs-sshd"
SRC_URI += "file://mcs-sshd_config"

do_install_append() {
    if ${@base_contains('DISTRO_FEATURES', 'OpenLDAP', 'true', 'false', d)}; then
        install -D -m 644 ${WORKDIR}/mcs-sshd ${D}/etc/pam.d/sshd
        install -D -m 644 ${WORKDIR}/mcs-sshd_config ${D}/etc/ssh/sshd_config
    fi
}