diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-06-20 19:01:13 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-23 12:07:32 +0100 |
commit | da7a1b4e08eb70ea43bb8638bb9d255f6ff82836 (patch) | |
tree | 03dcb083db5d909f02bdcaf4cdfacb9ff2e7ea56 /meta/recipes-core/dropbear/dropbear.inc | |
parent | c425c3804cabafaa7ff8435f56b82349699afffc (diff) | |
download | ast2050-yocto-poky-da7a1b4e08eb70ea43bb8638bb9d255f6ff82836.zip ast2050-yocto-poky-da7a1b4e08eb70ea43bb8638bb9d255f6ff82836.tar.gz |
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.
(From OE-Core rev: 16fbdaa24fd4add37c1e873505f55bcef5695a94)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 e9290ff..c9c41d2 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 \ |