Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Martin Schlemmer <azarah@g.o>
From: david@...
Subject: Re: base-layout lite
Date: Thu, 11 Dec 2003 13:41:51 -0800
On Thu, Dec 11, 2003 at 10:27:05PM +0200, Martin Schlemmer wrote:
> On Thu, 2003-12-11 at 19:54, Seemant Kulleen wrote:
> > On Thu, 2003-12-11 at 09:45, david@... wrote:
> > 
> > > 
> > > what do you mean by modularise ? As in... have a core peice of code
> > > for baselayout you can wrap a "heavy" layer or a "lite" layer around ?
> > > or... just including a 'baselayout-lite' version of every init
> > > script with each package ?
> > 
> > The first
> 
> Well, what will be too heavy?  The core is
> /sbin/{rc,runscript,runscript.sh,functions.sh} and stuff in
> /lib/rcscripts.  They only depend on bash and gawk.
> 

yeah... but lets take a look at the size of those files..

redhate root # wc -l /sbin/runscript /sbin/rc /sbin/runscript.sh
/sbin/functions.sh
      1 /sbin/runscript
    650 /sbin/rc
    529 /sbin/runscript.sh
    623 /sbin/functions.sh
   1803 total

for an embedded system... do we really need 500-600 lines of sourced
bash scripts to see a colored [ Ok ] ?

I'm not sure about the other people here, but startup times are very
crucial for my embedded platform, and on a machine with fairly limited
resources things like sourcing that much bash is going to take a long
time for each service...

--
gentoo-embedded@g.o mailing list

References:
base-layout lite
-- david
Re: base-layout lite
-- AJ Armstrong
Re: base-layout lite
-- david
Re: base-layout lite
-- Chris PeBenito
Re: base-layout lite
-- Seemant Kulleen
Re: base-layout lite
-- david
Re: base-layout lite
-- Seemant Kulleen
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: base-layout lite
Next by thread:
Re: base-layout lite
Previous by date:
Re: base-layout lite
Next by date:
Re: base-layout lite


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.