PATCH: removing hardcoded paths from init

Denis Vlasenko vda.linux at googlemail.com
Thu Jan 18 00:56:28 UTC 2007


On Thursday 18 January 2007 01:37, Gabriel L. Somlo wrote:
> On Thu, Jan 18, 2007 at 01:07:12AM +0100, Denis Vlasenko wrote:
> > 
> > Well, you are using FEATURE_SH_STANDALONE_SHELL.
> > 
> > I think that we shouldn't bundle together options
> > to use applets directly by shell and by init.
> > 
> > Maybe add another, separate config option for that?
> 
> Other than a bunch of shells (ash.c, msh.c, hush.c, lash.c),
> FEATURE_SH_STANDALONE_SHELL also shows up inside the spawn() function
> in libbb/xfuncs.c
> 
> So, as far as separate config options that accomplish this -- do you
> want a separate one for each individual use (e.g., a specific one for
> init), or should we just do something like FEATURE_EXEC_PREFER_APPLETS

FEATURE_EXEC_PREFER_APPLETS is ok I think.

> which, if turned on, would be used by everything else besides the
> shells (libbb/xfuncs.c:spawn(), init.c, and anyplace else we might
> think it necessary) ?
> 
> I personally prefer the latter. Let me know if you disagree...

I agree.
--
vda



More information about the busybox mailing list