From 16fbdaa24fd4add37c1e873505f55bcef5695a94 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 20 Jun 2011 19:01:13 -0500 Subject: dropbear: Don't patch in configure We need to avoid applying a patch in configure, because a rebuild could trigger this, without triggering do_patch. Signed-off-by: Mark Hatle --- meta/recipes-core/dropbear/dropbear.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/recipes-core/dropbear/dropbear.inc') 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}"' DISTRO_TYPE = "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" -do_configure_prepend() { +do_debug_patch() { if [ "${DISTRO_TYPE}" = "debug" ]; then bbnote "WARNING: applying allow-nopw.patch which allows password-less logins!" patch -p1 < ${WORKDIR}/allow-nopw.patch fi } +addtask do_debug_patch after do_patch before do_configure + do_install() { install -d ${D}${sysconfdir} \ ${D}${sysconfdir}/init.d \ -- cgit 1.2.3-korg