]> code.ossystems Code Review - openembedded-core.git/commitdiff
dropbear: Don't patch in configure
authorMark Hatle <mark.hatle@windriver.com>
Tue, 21 Jun 2011 00:01:13 +0000 (19:01 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Jun 2011 10:55:01 +0000 (11:55 +0100)
We need to avoid applying a patch in configure, because a rebuild could
trigger this, without triggering do_patch.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
meta/recipes-core/dropbear/dropbear.inc
meta/recipes-core/dropbear/dropbear_0.52.bb

index e9290ff9a7cb2c033ec5e136624d27d8d0f7ab38..c9c41d21173e3eebac9a22a18502643e1a7607de 100644 (file)
@@ -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 \
index 912054cc3813d39493036ed23f1cf7f231186bd3..78d6cf1c0b318b1c53c682e413483f7ea1844368 100644 (file)
@@ -3,4 +3,4 @@ require dropbear.inc
 SRC_URI[md5sum] = "1c69ec674481d7745452f68f2ea5597e"
 SRC_URI[sha256sum] = "e3a2ca49ed85ce562240c0ac06e2f72826d7e52a83e80d91c067c8b97bf5c108"
 
-PR = "r1"
+PR = "r2"