On 06/10/06 17:47 Johannes Winkelmann wrote:
Here a flow diagram to illustrate that:
(start setup) -> (group selection) -> (install packages) | | -> optional (detailed selection)
I have another suggestion for our future setup: http://jw.tks6.net/files/crux/setup.png
Here's an implementation: http://www.varlock.com/tmp/setup.tgz Features: - Group selection and optional detailed selection - Option selection dialog (info pages, etc.) - Dependency checking with display of required packages not previously selected Generic Notes: - In order to test the script I think it's enough to place a /crux symlink pointing to the crux dir inside the package - If you happen to regenerate the setup.dependencies with the included gendeps script, be sure to manually remove iproute2 from dependencies since it's in contrib. (maintainers already alerted). - The option selection dialog has no effect atm since we have yet to define the wanted options. - I Included all (fake) packages for core/opt/xorg for testing purposes. Dev notes: - I'm no bash wizard, I feel the dependency checking funcion (get_missing_deps) can be improved, though it seem to work an take an acceptable time: around 3 secs for full dependency checking on all core/opt/xorg ports When it's time to create a crux-2.3 branch on svn I'll move the script at crux.nu; meanwhile patches and ideas are welcome as usual. Regards, Simone -- Simone Rota Bergamo, Italy - http://www.varlock.com