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: Chris PeBenito <pebenito@g.o>
From: "Peter S. Mazinger" <ps.m@...>
Subject: Re: base-layout lite
Date: Tue, 9 Dec 2003 00:57:31 +0100 (CET)
On Sun, 7 Dec 2003, Chris PeBenito wrote:

> On Tue, 2003-12-02 at 13:08, david@... wrote:
> > On Tue, Dec 02, 2003 at 12:04:35PM -0700, AJ Armstrong wrote:
> > > On 2 Dec 2003 11:44, david@... emitted:
> > > 
> > > > ex: do we really need 500 lines of bash sourced so we can have colored
> > > > [ OK ]
> > > > I don't think this is really necessary.
> > > 
> > > Not only is it unnecessary, but I think it is _wrong_ if the code is running 
> > > in an embedded environment.  I think we should be starting with what is 
> > > absolutely required for a system to boot as the baselayout - no frills, no 
> > > pretification.  Those could perhaps be build as optional ebuilds that can be 
> > > emerged _after_ baselayout for those whose target platforms can support them.
> 
> I agree with this.  I'm thinking that baselayout-lite would probably
> just have one init script, rc.sysinit or the like.  There's not very
> many systems that would have/need additional runlevels.  So a good place
> might be to extract stuff out of /sbin/rc, and other regular baselayout
> scripts and merge into one script.
> 
> Solar has also suggested looking at the buildroot baselayout, but I have
> been bogged down by my classwork, so I haven't looked yet.
> 
> > Well I'm not sure where to draw the line... 
> > do we want to still have /var/run PID functionality for example ?  Or should we
> > leave that up to the embedded user... it could most likely be
> > implemented in a few lines of bash.
> > 
> > or maybe some sort of busybox like funcitonality with symlinks... i.e.
> > 
> > /etc/init.d/busyinit
> > /etc/init.d/network  -> /etc/init.d/busyinit
> 
> This is another good idea :)  Especially since busybox is most likely
> going to get heavy use.  /var/run may or not be around; with something
> real simple, without the classic /etc/init.d services, it probably
> doesn't need to.

Consider also, that busybox includes minit (another init), better as the 
default init, has dependency checking between services, parallel startup 
of services, as I understand it. Wach service has it's own subdirectory 
where the config/dependency files can be placed

To integrate it with a full-blown SysVinit system each service could 
provide both configs, a sysvinit startup script, and a, let's say minit 
one.

Peter

-- 
Peter S. Mazinger <ps.m@...>   ID: 0xA5F059F2    NIC: IXUYHSKQLI
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2


____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu

--
gentoo-embedded@g.o mailing list

Replies:
Re: base-layout lite
-- david
References:
Re: base-layout lite
-- Chris PeBenito
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:
uClibc-0.9.23/bardened-gcc-3.3.2 status
Next by date:
Re: Re: uclibc buildroot/ toolchain


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.