On 4.12.2013 10:16, Vladimir Moravec wrote:
Originally I let the pop-up window show only in case there were some failed hooks, but I changed it for the reason that if the user makes the effort of creating one or several hook files and puts them into the installation system (which is not a trivial task and must be done without the user friendly GUI), he will/might expect some visual feedback about the results before the first boot. In the end one of the goals of the installer GUI is to let the user inform about the succeeded or failed steps during the installation. It's just a single click to let the pop-up go away and continue with reboot.
Well, but that's exactly what he designer, PM and PjM don't want to: Having new pop-ups during installation. It's fine if this is configurable, e.g., on commandline (for debugging purpose) but the default has to be "silent".
You can set whatever you want at the Linuxrc commandline while the installer is starting: http://en.opensuse.org/SDB:Linuxrc
See (as an example) http://en.opensuse.org/SDB:Linuxrc#p_ignore_features how this is done for another Installer feature.
I think that the hooks will be useful mainly for automated installations where admins will test them a lot before going into production. Then they can even expect some more detailed hooks summary during the hooks' testing using the GUI installer (number of hook files, names of files, execution time). Currently they have to dig through the yast logs to get more details.
Hooks should be used both for automated installations and by add-ons. Both usually need to do something in background. Of course, having the information, for instance, persistent in some kind of logs is a very good idea - better than dumping all to /dev/null - and logs are copied to the installed system (it just needs to be checked which logs or extend the functionality).
Bye Lukas -- Lukas Ocilka, Yast TL, Cloud & Systems Management Department SUSE LINUX s.r.o., Praha -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]
