Gentoo Archives: gentoo-embedded

From: Marcelo Coelho <marcelocoelho@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] ADSL router + firewall + PoPToP....
Date: Wed, 28 Jun 2006 12:57:44
Message-Id: 20c6f18e0606280556p697d4428u51832cd55ada5e47@mail.gmail.com
In Reply to: Re: [gentoo-embedded] ADSL router + firewall + PoPToP.... by Natanael Copa
1 What about a bootchart? Is there one available?
2
3 My system is a normal stripped down gentoo install (for now). I'm
4 making some scripts to make the build process automatic in a build
5 host and create a tarball with it. My pc doesn't boot from cd-rom...
6 :( (When i'm satisfied with the results i'll post an how-to at
7 gentoo-wiki. :) ). So what i want is stability and boot up speed.
8 I don't test initng for a while, and when i did i didn't had good
9 results, but for what i want it _may_ be good enough, but if the boot
10 time is similar to your baselayout, i'll use it instead...
11
12 In the mean time, what you want to say with "But its designed to load
13 binary packages to ram
14 during boot, LEAF style." ?
15
16
17
18 Thanks!
19
20
21
22
23 2006/6/28, Natanael Copa <natanael.copa@×××××.com>:
24 > On Wed, 2006-06-28 at 07:46 -0400, Ned Ludd wrote:
25 > > On Wed, 2006-06-28 at 11:09 +0200, Natanael Copa wrote:
26 > > > On Wed, 2006-06-28 at 09:53 +0100, Marcelo Coelho wrote:
27 > > > > > no not at all. the baselayout-lite one does not depend on bash what so
28 > > > > > ever and includes pretty much no init/conf scripts. You get to hack on
29 > > > > > your own init scripts, which is a trivial task.
30 > > > >
31 > > > > Well, i have to use a different baselayout. The boot time is far too
32 > > > > long to be acceptable and there is a problem with hotplug (an error
33 > > > > appears that the firmware isn't available). But i don't know if it's
34 > > > > easier to make my init scripts or use initng.
35 > > >
36 > > > I have made a baselyaout with a stripped down version of runscript that
37 > > > will run the many init.d script from gentoo out of the box.
38 > > >
39 > > > Let me know if you are interested and I'll send you the sources
40 > >
41 > >
42 > > Does not depend on bash?
43 >
44 > no
45 >
46 > > Works with ash? :)
47 >
48 > yes :)
49 >
50 > or... I'm actually using dash currently because coldplugging takes like
51 > 3 minutes with ash and 5 seconds with dash. (its fixed in next release
52 > of busybox so I'll drop dash)
53 >
54 > > If so I think we would all be interested in moving fwd in that
55 > > direction. Feel like putting together an updated baselayout-lite ebuild?
56 >
57 > I have one already. But its designed to load binary packages to ram
58 > during boot, LEAF style.
59 >
60 > rsync://tanael.org/alpine-portage/sys-apps/baselayout-alpine/
61 >
62 > You can probably reuse parts of it. The source package is here:
63 > http://tanael.org/alpine/baselayout-alpine/baselayout-alpine-0.9.6.tar.gz
64 >
65 > I kind of immitate runlevels, (using rc0.d, rc1.d etc) but the big
66 > difference from normal sysv is that *all* runlevels or "boot stages" are
67 > executed.
68 >
69 > I had to patch some of the init.d scripts. Typically it was replacing:
70 >
71 > if [ expr && expr ] ...
72 >
73 > with:
74 >
75 > if [ expr ] && [ expr ] ...
76 >
77 > If we could get the init.d script writers to try to not be too bashish,
78 > it would be great.
79 >
80 > If there is interrest I could dump my patches somwhere.
81 >
82 > If you want to see it in action, try:
83 > http://tanael.org/alpine/v1.1/iso/alpine-1.1.3_beta8-060622-i386.iso
84 >
85 > Its 125Mb
86 >
87 >
88 > --
89 > gentoo-embedded@g.o mailing list
90 >
91 >
92 --
93 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] ADSL router + firewall + PoPToP.... Natanael Copa <natanael.copa@×××××.com>