[Buildroot] [PATCH] [RFC] system: add option to choose what /bin/sh points to

Peter Korsgaard jacmet at uclibc.org
Sun Oct 12 13:46:01 UTC 2014


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:

Hi,

 >> But we default to BR2_INIT_BUSYBOX, so you still need to go into the
 >> system menu and disable that before you can deselect busybox.
 >> 
 >> Another issue with the 'depends on' is that if you disable busybox the
 >> choice then jumps to the next option which pulls in bash (which might
 >> not really be what you want when you try to save space by disabling
 >> busybox).
 >> 
 >> So I think it is better to use selects everywhere.

 >  I disagree.

 >  For people who want to avoid busybox, it is already annoying that they have to
 > change their init system first. Adding more implicit selects of busybox is not
 > going to make their life easier.

 >  For the jumping, it's better to fix it by adding a 'default dash if !busybox' line.

 >  And since busybox is on by default, there is no strong need for a select - if
 > the user deselects busybox I guess they know what they're doing.

 >  And also using a depends solves the issue you mention below :-)

Ok, that's also fine by me.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list