From: Alexander Stein <alexander.stein@systec-electronic.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] [bash] Do no set /bin/sh symlink to bash if busybox links it to a shell
Date: Mon, 21 Nov 2011 14:53:39 +0100 [thread overview]
Message-ID: <1321883619-14994-1-git-send-email-alexander.stein@systec-electronic.com> (raw)
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 <alexander.stein@systec-electronic.com>
---
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
reply other threads:[~2011-11-21 13:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1321883619-14994-1-git-send-email-alexander.stein@systec-electronic.com \
--to=alexander.stein@systec-electronic.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox