summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/dropbear/dropbear.inc11
1 files changed, 1 insertions, 10 deletions
diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc
index 189471511c..2d6aeb2177 100644
--- a/meta/recipes-core/dropbear/dropbear.inc
+++ b/meta/recipes-core/dropbear/dropbear.inc
@@ -16,7 +16,7 @@ SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.gz \
16 file://dropbear-0.53.1-static_build_fix.patch \ 16 file://dropbear-0.53.1-static_build_fix.patch \
17 file://configure.patch \ 17 file://configure.patch \
18 file://fix-2kb-keys.patch \ 18 file://fix-2kb-keys.patch \
19 file://allow-nopw.patch;apply=no \ 19 ${@base_contains("DISTRO_TYPE", "debug", "file://allow-nopw.patch", "",d)} \
20 file://init \ 20 file://init \
21 ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} " 21 ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} "
22 22
@@ -40,15 +40,6 @@ EXTRA_OECONF += "\
40 40
41DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" 41DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}"
42 42
43do_debug_patch() {
44 if [ "${DISTRO_TYPE}" = "debug" ]; then
45 bbnote "WARNING: applying allow-nopw.patch which allows password-less logins!"
46 patch -p1 < ${WORKDIR}/allow-nopw.patch
47 fi
48}
49
50addtask do_debug_patch after do_patch before do_configure
51
52do_install() { 43do_install() {
53 install -d ${D}${sysconfdir} \ 44 install -d ${D}${sysconfdir} \
54 ${D}${sysconfdir}/init.d \ 45 ${D}${sysconfdir}/init.d \