From patchwork Tue May 7 12:39:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 242196 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id B78AA2C017A for ; Tue, 7 May 2013 22:40:17 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B15478BD7D; Tue, 7 May 2013 12:40:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q3FsKlvUnsJQ; Tue, 7 May 2013 12:40:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3457D8BCF2; Tue, 7 May 2013 12:40:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 226C88F7A0 for ; Tue, 7 May 2013 12:40:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1B4A68B3B9 for ; Tue, 7 May 2013 12:40:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HCvATJQLQ0Yi for ; Tue, 7 May 2013 12:40:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0A1498BDD1 for ; Tue, 7 May 2013 12:40:08 +0000 (UTC) Received: from asgard (host147.190-138-228.telecom.net.ar [190.138.228.147]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.7/8.14.7) with ESMTP id r47Ce0Dm021248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 7 May 2013 12:40:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1367930405; bh=bVp6EEnIogKCiSCKL/JH6xBm7p0E10gTs9BvUx4Ib6s=; h=From:To:Cc:Subject:Date; b=ef5MjT15gBy/vgEDoGS2AEbs3160uLHc/bIo43O0C63brMKk8hyq3l5cLSPwhqXEn ANumbFu08yPKjgGn8tk89BEZmtaZv9sd8B/+QleLEDaGuhVcB+2ewhN+MvRccC731D hyLcB4Uy3M7+CdUMGcME5Y88WtTGzjKu7fc+7jwA= Received: by asgard (sSMTP sendmail emulation); Tue, 07 May 2013 09:39:59 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Tue, 7 May 2013 09:39:59 -0300 Message-Id: <1367930399-28232-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.1.5 X-Virus-Scanned: clamav-milter 0.97.7 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] dropbear: disable standalone mode for nommu X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net dropbear for nommu targets must disable the standalone (non-inetd) mode since the platform lacks fork(), fixes: http://autobuild.buildroot.net/results/ecbdfab10f54bec75c112bbf005bba9ae2b18dc8/ Signed-off-by: Gustavo Zacarias --- package/dropbear/dropbear.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk index d5dfe6d..50f6100 100644 --- a/package/dropbear/dropbear.mk +++ b/package/dropbear/dropbear.mk @@ -39,6 +39,14 @@ define DROPBEAR_BUILD_FEATURED $(SED) 's:.*\(#define DROPBEAR_SHA2_512_HMAC\).*:\1:' $(@D)/options.h endef +define DROPBEAR_DISABLE_STANDALONE + $(SED) 's:\(#define NON_INETD_MODE\):/*\1 */:' $(@D)/options.h +endef + +ifeq ($(BR2_USE_MMU),) +DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_DISABLE_STANDALONE +endif + ifeq ($(BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS),y) DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_DISABLE_REVERSE_DNS endif