KP Kirchdörfer wrote:
> 
> Am Montag, 26. November 2001 16:51 schrieb David Douthitt:
> > KP Kirchdörfer wrote:

> > > Modified Packages:
> > > ifconfig.lrp - added traceroute and netstat
> >
> > busybox is now adding many of these, including traceroute, netstat,
> > ifconfig, etc.
> 
> Raises size of root.lrp somewhat about 20kb.
> Of course you'll win space replacing ifconfig.lrp with the smaller busybox
> applets - and therefor this seems a reasonable solution for a 1680kb floppy
> version.
> On the other hand, for CD versions the smaller root.lrp the better, as you
> all know, boot floppy is limited to 1,44MB - and once you've booted you could
> add as many packages as you like, regardless how big they are from /dev/hda...
> 
> I don't like it, but for now I think we need two versions of busybox and
> root.lrp.

Not necessary.  The #1 biggest thing I found in root.lrp was libc - and
if busybox is compiled statically, then libc can be split off.  One
other big thing was GNU sed - that can be split off by replacing the use
of sed with the shell's variable pattern matching syntax for the most
part.

Doing this will remove about 500k from root.lrp and make it very easy to
upgrade libc.

Using a 1.44M volume shouldn't be a problem - but if it is, use a 2.88M
image - which is what I do.

I also see to it that the CDROM boot image and the floppy boot image are
identical in almost every respect - thus, if it works on the floppy,
tweak the configuration to support CDROM and it'll run in a 2.88M CDROM
boot image.

Because of the way CDROMs work, this "almost identical" image also means
I can test with a non-bootable CDROM and a floppy - or indeed, any valid
CDROM.

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to