diff options
Diffstat (limited to 'meta/recipes-core/dropbear/dropbear.inc')
-rw-r--r-- | meta/recipes-core/dropbear/dropbear.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc index bda7eb847c..b6b436c584 100644 --- a/meta/recipes-core/dropbear/dropbear.inc +++ b/meta/recipes-core/dropbear/dropbear.inc | |||
@@ -8,7 +8,7 @@ LICENSE = "MIT & BSD-3-Clause & BSD-2-Clause & PD" | |||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a5ec40cafba26fc4396d0b550f824e01" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a5ec40cafba26fc4396d0b550f824e01" |
9 | 9 | ||
10 | DEPENDS = "zlib" | 10 | DEPENDS = "zlib" |
11 | RPROVIDES_${PN} = "ssh sshd" | 11 | RPROVIDES_${PN} = "ssh sshd" |
12 | 12 | ||
13 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 13 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
14 | 14 | ||
@@ -63,7 +63,7 @@ do_install() { | |||
63 | 63 | ||
64 | install -m 0755 dropbearmulti ${D}${sbindir}/ | 64 | install -m 0755 dropbearmulti ${D}${sbindir}/ |
65 | ln -s ${sbindir}/dropbearmulti ${D}${bindir}/dbclient | 65 | ln -s ${sbindir}/dropbearmulti ${D}${bindir}/dbclient |
66 | 66 | ||
67 | for i in ${SBINCOMMANDS} | 67 | for i in ${SBINCOMMANDS} |
68 | do | 68 | do |
69 | ln -s ./dropbearmulti ${D}${sbindir}/$i | 69 | ln -s ./dropbearmulti ${D}${sbindir}/$i |
@@ -74,7 +74,7 @@ do_install() { | |||
74 | -e 's,/usr/bin,${bindir},g' \ | 74 | -e 's,/usr/bin,${bindir},g' \ |
75 | -e 's,/usr,${prefix},g' ${WORKDIR}/init > ${D}${sysconfdir}/init.d/dropbear | 75 | -e 's,/usr,${prefix},g' ${WORKDIR}/init > ${D}${sysconfdir}/init.d/dropbear |
76 | chmod 755 ${D}${sysconfdir}/init.d/dropbear | 76 | chmod 755 ${D}${sysconfdir}/init.d/dropbear |
77 | if [ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then | 77 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then |
78 | install -d ${D}${sysconfdir}/pam.d | 78 | install -d ${D}${sysconfdir}/pam.d |
79 | install -m 0644 ${WORKDIR}/dropbear ${D}${sysconfdir}/pam.d/ | 79 | install -m 0644 ${WORKDIR}/dropbear ${D}${sysconfdir}/pam.d/ |
80 | fi | 80 | fi |