Author: jsrain Date: Wed Oct 5 13:11:28 2011 New Revision: 66254 URL: http://svn.opensuse.org/viewcvs/yast?rev=66254&view=rev Log: prevent unwanted change of autoupgrade mode to autoinstallation (bnc#722249) Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoInstall.ycp Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION?rev=66254&r1=66253&r2=66254&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION Wed Oct 5 13:11:28 2011 @@ -1 +1 @@ -2.17.51 +2.17.52 Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes?rev=66254&r1=66253&r2=66254&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes Wed Oct 5 13:11:28 2011 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Oct 5 10:57:39 UTC 2011 - jsrain@site + +- prevent unwanted change of autoupgrade mode to autoinstallation + (bnc#722249) +- 2.17.52 + +------------------------------------------------------------------- Mon Sep 26 18:03:32 CEST 2011 - ug@suse.de - sleep for 3 seconds after dasd initialization (bnc#593773) Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoInstall.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoInstall.ycp?rev=66254&r1=66253&r2=66254&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoInstall.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoInstall.ycp Wed Oct 5 13:11:28 2011 @@ -125,12 +125,19 @@ { boolean ret = Continue(); if (ret && size ( Profile::current ) > 0) { - y2milestone("Enabling Auto-Installation mode"); - Mode::SetMode("autoinstallation"); + if (Mode::autoupgrade()) { + y2milestone ("AutoYaST upgrade mode already set, keeping it"); + } else { + y2milestone("Enabling Auto-Installation mode"); + Mode::SetMode("autoinstallation"); + } } else if (Mode::autoinst ()) { y2milestone("No autoyast data found, switching back to manual installation"); Mode::SetMode("installation"); - } + } else if (Mode::autoupgrade ()) { + y2milestone("No autoyast data found, switching back to manual update"); + Mode::SetMode("update"); + } } else if (Stage::initial ()) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org