summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dropbear/dropbear.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/dropbear/dropbear.inc')
-rw-r--r--meta/recipes-core/dropbear/dropbear.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc
index e9290ff9a7..c9c41d2117 100644
--- a/meta/recipes-core/dropbear/dropbear.inc
+++ b/meta/recipes-core/dropbear/dropbear.inc
@@ -32,13 +32,15 @@ EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"'
32 32
33DISTRO_TYPE = "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" 33DISTRO_TYPE = "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}"
34 34
35do_configure_prepend() { 35do_debug_patch() {
36 if [ "${DISTRO_TYPE}" = "debug" ]; then 36 if [ "${DISTRO_TYPE}" = "debug" ]; then
37 bbnote "WARNING: applying allow-nopw.patch which allows password-less logins!" 37 bbnote "WARNING: applying allow-nopw.patch which allows password-less logins!"
38 patch -p1 < ${WORKDIR}/allow-nopw.patch 38 patch -p1 < ${WORKDIR}/allow-nopw.patch
39 fi 39 fi
40} 40}
41 41
42addtask do_debug_patch after do_patch before do_configure
43
42do_install() { 44do_install() {
43 install -d ${D}${sysconfdir} \ 45 install -d ${D}${sysconfdir} \
44 ${D}${sysconfdir}/init.d \ 46 ${D}${sysconfdir}/init.d \