1 |
On Sun, 7 Dec 2003, Chris PeBenito wrote: |
2 |
|
3 |
> On Tue, 2003-12-02 at 13:08, david@×××××××××.com wrote: |
4 |
> > On Tue, Dec 02, 2003 at 12:04:35PM -0700, AJ Armstrong wrote: |
5 |
> > > On 2 Dec 2003 11:44, david@×××××××××.com emitted: |
6 |
> > > |
7 |
> > > > ex: do we really need 500 lines of bash sourced so we can have colored |
8 |
> > > > [ OK ] |
9 |
> > > > I don't think this is really necessary. |
10 |
> > > |
11 |
> > > Not only is it unnecessary, but I think it is _wrong_ if the code is running |
12 |
> > > in an embedded environment. I think we should be starting with what is |
13 |
> > > absolutely required for a system to boot as the baselayout - no frills, no |
14 |
> > > pretification. Those could perhaps be build as optional ebuilds that can be |
15 |
> > > emerged _after_ baselayout for those whose target platforms can support them. |
16 |
> |
17 |
> I agree with this. I'm thinking that baselayout-lite would probably |
18 |
> just have one init script, rc.sysinit or the like. There's not very |
19 |
> many systems that would have/need additional runlevels. So a good place |
20 |
> might be to extract stuff out of /sbin/rc, and other regular baselayout |
21 |
> scripts and merge into one script. |
22 |
> |
23 |
> Solar has also suggested looking at the buildroot baselayout, but I have |
24 |
> been bogged down by my classwork, so I haven't looked yet. |
25 |
> |
26 |
> > Well I'm not sure where to draw the line... |
27 |
> > do we want to still have /var/run PID functionality for example ? Or should we |
28 |
> > leave that up to the embedded user... it could most likely be |
29 |
> > implemented in a few lines of bash. |
30 |
> > |
31 |
> > or maybe some sort of busybox like funcitonality with symlinks... i.e. |
32 |
> > |
33 |
> > /etc/init.d/busyinit |
34 |
> > /etc/init.d/network -> /etc/init.d/busyinit |
35 |
> |
36 |
> This is another good idea :) Especially since busybox is most likely |
37 |
> going to get heavy use. /var/run may or not be around; with something |
38 |
> real simple, without the classic /etc/init.d services, it probably |
39 |
> doesn't need to. |
40 |
|
41 |
Consider also, that busybox includes minit (another init), better as the |
42 |
default init, has dependency checking between services, parallel startup |
43 |
of services, as I understand it. Wach service has it's own subdirectory |
44 |
where the config/dependency files can be placed |
45 |
|
46 |
To integrate it with a full-blown SysVinit system each service could |
47 |
provide both configs, a sysvinit startup script, and a, let's say minit |
48 |
one. |
49 |
|
50 |
Peter |
51 |
|
52 |
-- |
53 |
Peter S. Mazinger <ps.m@×××.net> ID: 0xA5F059F2 NIC: IXUYHSKQLI |
54 |
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 |
55 |
|
56 |
|
57 |
____________________________________________________________________ |
58 |
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol. |
59 |
Probald ki most! http://www.freestart.hu |
60 |
|
61 |
-- |
62 |
gentoo-embedded@g.o mailing list |