All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] [RFC] system: add option to choose what /bin/sh points to
Date: Sun, 12 Oct 2014 15:51:33 +0200	[thread overview]
Message-ID: <87oathxuoq.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1413120982-19635-1-git-send-email-yann.morin.1998@free.fr> (Yann E. MORIN's message of "Sun, 12 Oct 2014 15:36:22 +0200")

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > Not all our shells do install a pointer to /bin/sh. Besides, between
 > those that do and multiple ones are enabled, the last one to install
 > wins the the symlink.

 > Add a new config choice in the system sub-menu that allows the user to
 > explicitly select the shell to provide /bin/sh. If busybox is not
 > enabled, default to using dash, a POSIX shell.

 > Remove the symlink creation from bash.mk at the same time.

 > Note: for every shell, we select them, except busybox, on which we
 > depend, on the assumption that we do not want to force busybox in case
 > the user decided not to enable it.

 > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
 > Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
 > Cc: Arnout Vandecappelle <arnout@mind.be>

 > ---
 > Changes v1 -> v2:
 >   - default to dash if busybox is disabled

 > +config BR2_SYSTEM_BIN_SH_BASH
 > +	bool "bash"
 > +	depends on BR2_USE_MMU # bash
 > +	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS || !BR2_PACKAGE_BUSYBOX
 > +	select BR2_PACKAGE_BASH
 > +
 > +config BR2_SYSTEM_BIN_SH_DASH
 > +	bool "dash"
 > +	depends on BR2_USE_MMU # dash
 > +	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS || !BR2_PACKAGE_BUSYBOX
 > +	select BR2_PACKAGE_DASH

You forgot to remove the redundant || !BR2_PACKAGE_BUSYBOX.

Committed with that fixed, thanks.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2014-10-12 13:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-12 13:36 [Buildroot] [PATCH] [RFC] system: add option to choose what /bin/sh points to Yann E. MORIN
2014-10-12 13:51 ` Peter Korsgaard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-10-11 17:49 Yann E. MORIN
2014-10-12  9:57 ` Peter Korsgaard
2014-10-12 13:15   ` Arnout Vandecappelle
2014-10-12 13:46     ` Peter Korsgaard

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=87oathxuoq.fsf@dell.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.