Re: [leaf-devel] New linuxrc mods ready for testing
At 17:53 17.03.2004, you wrote: Hello Erich, ... That's only partial possible, at least a few few packages need to be installed in the linuxrc script (etc.lrp, config.lrp, ..) to make it work. So there needs to be some code in the initrd package to install those packages. Well I believe the only thing really needed is lrpkg.lrp or whatever suffix is used. It does _not_ really have to be a .lrp file (much like initrd.lrp). From that very moment everything could be loaded by the package manager, whichever is used. so basically the sequence could be: boot load initrd load the package manager load whatever is needed to run init (using the package manager) run init (which might load other stuff using the package manager) If you want to have the flexibility to change the config/package system by having it in a seperate package, you need some code in initrd.lrp to load that config package. I just hate redundant code, even in scripts. cheers Erich THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click ___ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] New linuxrc mods ready for testing
Eric At 19:18 17.03.2004, Eric Spakman wrote: Hello Erich, .. That doesn't really change the case and makes things even more inflexible. You need some code to uncompress and install the package manager. It doesn't matter if you use a compressed fs or a tar.gz (lrp) file. The problem is that you need code that loads the package from the right (mounted) filesystem and uncompress it. An other drawback of this approach is that you cannot backup the package manager with the standard tools. .. Me too, but it are only a few lines of code to create a minimal system where init can take over. I see no difference in having a few redundant lines or doing basicly the same with other code. I think it's better to not rely on a different package to reach the part where init takes over. I am just afraid that these few lines do a minimalistic approach (see the broken current code), whereas a fully blown package manager might do better. So the sequence could be: boot install whatever is needed to run init run init let the package manager load the other packages Eric Spakman I get your point. cheers Erich THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click ___ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] New linuxrc mods ready for testing
Eric At 09:35 17.03.2004 +, Eric Spakman wrote: >Erich, Charles, > > > >> >Also note that I don't believe the POSIXness scripts (lrpkg included) > >> are available currently in the initial ramdisk, but are in root.lrp. > >> > >> True, but then why. It certainly is not that big. > >> > >Because they were never needed in initrd. For Bering-uClibc we want to keep it that >way. The reason for this is that we want to keep the config/package scripts separated >so it can easely be replaced by some other config/package system like f.e. apkg. We >have put the lrpkg and lrcfg scripts in a separate "config.lrp" package for this >reason. IMHO, if you want to be able to replace it easily you should use it wherever the sme functionality is used. cheers Erich THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click ___ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel