Author: ug Date: Thu May 19 10:14:39 2011 New Revision: 64044 URL: http://svn.opensuse.org/viewcvs/yast?rev=64044&view=rev Log: added the possibility to restart yast after pre-script execution Modified: trunk/autoinstallation/package/autoyast2.changes trunk/autoinstallation/src/clients/inst_autosetup.ycp Modified: trunk/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=64044&r1=64043&r2=64044&view=diff ============================================================================== --- trunk/autoinstallation/package/autoyast2.changes (original) +++ trunk/autoinstallation/package/autoyast2.changes Thu May 19 10:14:39 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu May 19 10:07:52 CEST 2011 - ug@suse.de + +- added the possibility to restart yast after pre-script + execution + +------------------------------------------------------------------- Fri May 13 14:22:32 CEST 2011 - ug@suse.de - keep_unknown_lv added (fate#308893) Modified: trunk/autoinstallation/src/clients/inst_autosetup.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/clients/inst_autosetup.ycp?rev=64044&r1=64043&r2=64044&view=diff ============================================================================== --- trunk/autoinstallation/src/clients/inst_autosetup.ycp (original) +++ trunk/autoinstallation/src/clients/inst_autosetup.ycp Thu May 19 10:14:39 2011 @@ -138,6 +138,10 @@ modified = false; } while( modified == true ); + if (SCR::Read(.target.size, "/var/lib/YaST2/restart_yast") >= 0 ) { + return `restart_yast; + } + // reimport scripts, for the case <ask> has changed them AutoinstScripts::Import(Profile::current["scripts"]:$[]); // -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org