Levinux.com
Levinux.com copied to clipboard
Possible improvement to package loading/boot
When last I worked on Levinux, I had made a package loading shim script to load packages if the package file is different from the stock one. Cool enough, I guess. I'm thinking of how to improve the system and I've come up with the following:
- Instead of downloading from the local repository, perhaps downloading from the Internet. This will make the initial system smaller, but less efficient when rebuilding. Admittedly, I'm on the fence about this one
- Creating a file that checks if the package list file's changed, then offering to load it or not. This will allow faster experimental loads. I'm thinking I set it up so that it the file has a three-position switch of either "never load", "always load" or "ask if changed", the default being "ask if changed" or "always load". This way, if you intend on doing testing and you don't want it to even determine if it's changed, we can skip that entirely and not load (or always load if you're testing specific packages).
- Both 1 & 2. This would allow the user to select either the local repo or pulling from internet... or totally ignoring a download.
The end results would be allowing the end user to control loading their entire system or just the core (for debugging purposes, for example), and from where the files are fetched.
Just a thought, though.