George Metz wrote:

<speech and boot.lrp requirements cut out>

> 
> This is based on the boot sequence in initrd archive, to the point of
> loading packages, as follows:
> 
> 1. Creates links to busybox for ln, cat, and mkdir.
> 2. Creates the base directory structure with the above.
> 3. Creates busybox and POSIXness links.
> 4. Makes the dev files
> 5. chmod's /var/lock and /tmp, mounts proc, updates mtab
> 6. Checks for boot= and makes the mount dir, then mounts the boot device
>    specified.
> 7. Begins to install packages.
> 
> Please, someone who's monkeyed with the default 2.9.8 Linuxrc script,
> doublecheck me on that.

I wouldn't swear on it, but I think this is accurate.

> 
> 
> Thought here is to get a bootstrap initrd archive up and running first,
> then use what it contains to load System packages, then addon packages,
> from a significantly larger medium than a floppy disk. In this case, if
> we're using bzip2, we can still load off the floppy disk, and just add in
> bzip2 and libbz2 to the boot.lrp package, and away we go.

This could be a nice way of loading the bulk of leaf from a cdrom. I 
suppose the boot.lrp will have to remain on the floppy in order to 
remain compatible with 486's and older pentiums that don't support 
booting from cdrom. In that case it might be useful to link the binaries 
in boot.lrp to some kind of embedded libc (uClibc, newlib et al) in 
order to keep the boot.lrp as small as possible.Tweaking linuxrc so that 
it will work with busybox's sed applet instead of GNU sed could save a 
few bytes too.

> 
> I THINK I can get a default boot.lrp together in the next few days, but
> I'm weak on scripting, and this may take a bit of scripting skill. If
> anyone can make a couple of modifications for me to Linuxrc, please offer.
> 
> Overall, I'd prefer not, since this might be the kick I need to figure out
> shell scripts and the like, but if you like the idea and want it done in
> less than a week or two, then modify linuxrc to load a set list of System
> packages that are constant-named. I was thinking lib, modules, root, etc,
> and local could be static packages, whereas everything that ISN'T a
> system-required package such as dnscache, sshd, weblet, etc. could remain
> configured via the "LRP=" parameter - or whatever happens to be used by a
> given distro.

Sshd might not be _absolutely_ necessary to run leaf, but I wouldn't 
want to have router without it

> 
> Thoughts? Questions? Insults? =)
> 
You ^%*&*((*& American (&*&(*& :-)

Ewald Wasscher


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

Reply via email to