On Wed, 2003-10-29 at 22:02, Christian Gut wrote: > On Mi, 2003-10-29 at 21:24, Vano D wrote: > > But anyhow.. I am positive it can be made even smaller, by using less > > binaries, cutting down on the baselayout or using a custom one > > (slackware rc scripts come to mind) the reason for this is not that the > > scripts take a lot of space, but they use some binaries and in my case > > instead of I copy the binaries themselves I emerge the whole package the > > binaries belong to. And course last but not least, using uglibc should > > shrink the thing even more (but then incompatibility issues might arise > > with some packages...) > > How did you build this thing, just a simple chroot env and unpacking the > precompiled packages? Then kernel and adding it to the bootloader or > how?
Just as you said it. But ofcourse the chroot is a clean empty dir. Also you have to manually symlink the busybox and tinylogin (i.e. if you do "ln -s /bin/busybox /bin/ls" when you run ls it runs "busybox ls". Busybox is intelligent enough to know that it should run its ls implementation. So you have to manually create all those symlinks) and also change inittab to run getty instead of agetty (getty is a symlink to tinylogin). Thats about it IIRC. Can't be easier. Cheers, Vano -- [EMAIL PROTECTED] mailing list
