From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from webbox1416.server-home.net ([77.236.96.61]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RSUJc-0004Y5-4K for ptxdist@pengutronix.de; Mon, 21 Nov 2011 14:53:48 +0100 Received: from comm.systec-electronic.de (95-91-85-164-dynip.superkabel.de [95.91.85.164]) by webbox1416.server-home.net (Postfix) with ESMTPA id 28E6E27A5C4 for ; Mon, 21 Nov 2011 14:55:50 +0100 (CET) From: Alexander Stein Date: Mon, 21 Nov 2011 14:53:39 +0100 Message-Id: <1321883619-14994-1-git-send-email-alexander.stein@systec-electronic.com> Subject: [ptxdist] [PATCH] [bash] Do no set /bin/sh symlink to bash if busybox links it to a shell Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Without it is not possible to e.g. set /bin/sh to hush and install bash parallel to busybox shells. Signed-off-by: Alexander Stein --- rules/bash.make | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/rules/bash.make b/rules/bash.make index 2bb6d35..9e8facc 100644 --- a/rules/bash.make +++ b/rules/bash.make @@ -187,7 +187,9 @@ $(STATEDIR)/bash.targetinstall: @$(call install_fixup, bash,DESCRIPTION,missing) @$(call install_copy, bash, 0, 0, 0755, -, /bin/bash) +ifdef PTXCONF_BUSYBOX_FEATURE_SH_IS_NONE @$(call install_link, bash, bash, /bin/sh) +endif @$(call install_finish, bash) -- 1.7.3.4 -- ptxdist mailing list ptxdist@pengutronix.de