diff options
Diffstat (limited to 'meta/recipes-core/dropbear/dropbear.inc')
-rw-r--r-- | meta/recipes-core/dropbear/dropbear.inc | 4 |
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 | ||
33 | DISTRO_TYPE = "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" | 33 | DISTRO_TYPE = "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" |
34 | 34 | ||
35 | do_configure_prepend() { | 35 | do_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 | ||
42 | addtask do_debug_patch after do_patch before do_configure | ||
43 | |||
42 | do_install() { | 44 | do_install() { |
43 | install -d ${D}${sysconfdir} \ | 45 | install -d ${D}${sysconfdir} \ |
44 | ${D}${sysconfdir}/init.d \ | 46 | ${D}${sysconfdir}/init.d \ |