[opensuse-autoinstall] What should my module return?
I'm running a self-written YaST module at the start of the installation (via control.xml, inserted right before the prepareprogress module), and even though my modules finishes with success, I get a YaST error (red screen). Do I need to return/set any specific values? I already tried returning true/false/0/1/nil/GetInstArgs(0), etc, all with the same result. There doesn't seem to be any specific error messages in the log, it just informs that the YaST client module was finished. -- -- Erico -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Tuesday 01 June 2010 Erico Mendonça wrote:
I'm running a self-written YaST module at the start of the installation (via control.xml, inserted right before the prepareprogress module), and even though my modules finishes with success, I get a YaST error (red screen).
Do I need to return/set any specific values? I already tried returning true/false/0/1/nil/GetInstArgs(0), etc, all with the same result.
you have to return symbols like "return `abort", "return `next", "return `finish". Depending on where you call your module and what is happening. I did not look at the position of your module but I'd suggest "return `next" -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Erico Mendonça
-
Uwe Gansert