diff options
Diffstat (limited to 'meta/recipes-core/dropbear')
-rw-r--r-- | meta/recipes-core/dropbear/dropbear.inc | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc index 5d9623d2c6..4262b1d6e5 100644 --- a/meta/recipes-core/dropbear/dropbear.inc +++ b/meta/recipes-core/dropbear/dropbear.inc | |||
@@ -62,14 +62,10 @@ do_install() { | |||
62 | -e 's,/usr/bin,${bindir},g' \ | 62 | -e 's,/usr/bin,${bindir},g' \ |
63 | -e 's,/usr,${prefix},g' > ${D}${sysconfdir}/init.d/dropbear | 63 | -e 's,/usr,${prefix},g' > ${D}${sysconfdir}/init.d/dropbear |
64 | chmod 755 ${D}${sysconfdir}/init.d/dropbear | 64 | chmod 755 ${D}${sysconfdir}/init.d/dropbear |
65 | for i in ${DISTRO_FEATURES}; | 65 | if [ "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then |
66 | do | 66 | install -d ${D}${sysconfdir}/pam.d |
67 | if [ ${i} = "pam" ]; then | 67 | install -m 0644 ${WORKDIR}/dropbear ${D}${sysconfdir}/pam.d/ |
68 | install -d ${D}${sysconfdir}/pam.d | 68 | fi |
69 | install -m 0644 ${WORKDIR}/dropbear ${D}${sysconfdir}/pam.d/ | ||
70 | fi | ||
71 | done | ||
72 | |||
73 | } | 69 | } |
74 | 70 | ||
75 | inherit update-alternatives | 71 | inherit update-alternatives |