On Thu, 2007-02-08 at 13:23 -0700, Daniel Robbins wrote:
> I sort of missed this conversation, so apologies in advance if this
> has already been covered, but wanted to say that gentoo's initscripts
> are generally not suited for embedded systems.
> 
> So making baselayout busybox-compatible doesn't seem to be worth the
> disruption and headaches it would cause. 

Please read over what's been talked about elsewhere in this thread. He
is not trying to break existing functionality at all. Only extend it to
be posix aware (additionally) 

> It would be disruptive for
> gentoo developers who would need to be extra-careful in maintaining
> their initscripts to ensure busybox compatibility. Not to mention the
> potential disruption for users.

There is no reason this has to be disruptive to the users who don't care
about this functionality.

> If you are building an embedded system using busybox, then generally
> you will want a single /etc/init.d/rcS script that starts all the
> stuff you need.

As somebody that's had to hand write many of those kinds of scripts. A
single rcS is not very ideal. Our init scripts are in fact mostly usable
by busybox. Granted there are a few special special cases, but then Roy
is offering to update those for free. One of the larger problems really
boils down to many packages provide default init.d scripts and these
expect the existing baselayout only. That will be a bigger feat to deal
with later on down the road.

> -Daniel
> 
> On 2/8/07, Mike Frysinger <[EMAIL PROTECTED]> wrote:
> > On Thursday 08 February 2007, Roy Marples wrote:
> > > Mike Frysinger <[EMAIL PROTECTED]> wrote:
> > > > On Wednesday 07 February 2007, Roy Marples wrote:
> > > > > In the current code I'm running it's only the network stuff that
> > > > > uses arrays. If you're thinking about /sbin/functions.sh, well that
> > > > > can stay as bash as it's not used by baselayout anymore.
> > > >
> > > > some init.d scripts use arrays as well
> > >
> > > Do we know which ones?
> >
> > grep for it :p
> > netmount for sure right now
> >
> > > The actual scripts themselves can be re-worked if they need to be -
> > > this problem only when the arrays are used in config files.
> >
> > i guess my point was i think we really need to be consistent here ... either
> > arrays are OK for init.d scripts or they're not OK
> >
> > did you get a chance to see how hard it would be to integrate the bash array
> > code ?
> > -mike
> >
> >
-- 
Ned Ludd <[EMAIL PROTECTED]>
Gentoo Linux

-- 
gentoo-dev@gentoo.org mailing list

Reply via email to