Etienne Charlier wrote: > Whith the release of dachstein CD (I didn't tried it yet), > I think it's time to explain what I am coding now. > (It's not yet ready for a release but you can get the > ideas. It might be useful to store config files on a floppy.
Oxygen already does this, and is set up to do it. Apkg creates these, too. The concept is this: 1. Get the filenames from the packages *.conf files (stripping out excess comments, etc. from *.conf files as we go) 2. Create a list of files on the fly, and create a tar.gz file named config.lrp. 3. Save this to the boot disk. ...then the boot disk will load all packages EXCEPT the config.lrp, and loads it last. This means that the packages do NOT need to be modified, as the configuration is loaded last. The development version of Oxygen also allows you to define the name of the package treated this way (though apkg still creates config.lrp). This method not only requires the creation of the config.lrp, but modification to the boot process - which Oxygen has. I don't know about others.... > TODO: > better comment_stripping ( remove LF if file editied in dos/win) If you have tr (I think Oxygen does - busybox provides it): tr '\015' '\012' < dos.file > unix.file _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel