> Turns out I had a lot of extra time at work today... ;-)un.
Dont you love it when you have extra time to do stuff you like ? :) 

> like I said before, a basic system can be done with:
> 
> sys-kernel/linux-headers
> glibc
> =busybox-0.60.5-r1
> =gawk-3.1.2-r3
> =baselayout-1.8.6.8-r1
> tinylogin

Will look at submerge as soon as I get some time. Looks very interesting
from what I saw.

I already tried to create a small system (got carried away, my goal
wasnt an embedded system.. but anyway) thanks to the ideas from this
thread. And I am happy to say that I managed to get an apparently
functional system with the following:

baselayout-1.8.6.10-r1.tbz2
bash-2.05b-r7.tbz2
busybox-0.60.3-r1.tbz2
devfsd-1.3.25-r3.tbz2
e2fsprogs-1.33.tbz2
gawk-3.1.3.tbz2
glibc-2.3.2-r1.tbz2
tinylogin-1.2.tbz2

The whole thing occupying 16 megs!

What is interesting is that I did not do any modifications on the init
scripts that come with gentoo (baselayout) apart from modifying inittab
to launch getty instead of agetty. The only thing which doesnt seem to
work are Gentoo's runlevels, but they do get exectued, everything runs,
but errors pop out (but they work). What seems missing are: egrep,
hostname and install. Probably having these will get the whole thing
working right out of the (gentoo) box. Obvoiusly for a true embedded
system you dont want to go with gentoo's init scripts as was mentioned
before, but it is interesting that it still does more or less work!

Another note, I removed all
doc/man/info/include/locale/terminfo/zoneinfo etc.. I could get my hands
on (if you can think of more letme know :).

Just for sake of completeness, I did the busybox and tinylogin symlinks
manually and after some fighting around got them right (some stuff need
to be in /sbin some in /bin).

On another note, I went a bit furter and installed:

gpm-1.20.1.tbz2
ncurses-5.3-r2.tbz2
links-2.1_pre9.tbz2

Getting a working browser adding an additional 3 megs (didnt know
ncurses was so big) making the whole thing 19 megs.

Obviously I am using bash, devfsd, gawk and e2fsprogs which can be made
irrelevant if proper init scripts are used (I threw in devfsd just in
case, probably it is not even needed - At the end I just did a "cp -a
/dev/* chroot/dev/")

Now what can be interesting is to go with uglibc instead of glibc.

I guess its time to get one of those USB sticks.

Thanks David and all the rest for the ideas. It is really fascinating to
see how easy it is to create small customized systems with Gentoo.


Cheers,

Vano.



--
[EMAIL PROTECTED] mailing list

Reply via email to