Author: jsrain Date: Thu Apr 3 14:57:01 2008 New Revision: 46030 URL: http://svn.opensuse.org/viewcvs/yast?rev=46030&view=rev Log: save time zone during installation use proper 2nd stage workflow Modified: trunk/live-installer/package/yast2-live-installer.changes trunk/live-installer/src/live-installer.ycp trunk/live-installer/src/live_save_config_finish.ycp Modified: trunk/live-installer/package/yast2-live-installer.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/live-installer/package/yast2-live-installer.changes?rev=46030&r1=46029&r2=46030&view=diff ============================================================================== --- trunk/live-installer/package/yast2-live-installer.changes (original) +++ trunk/live-installer/package/yast2-live-installer.changes Thu Apr 3 14:57:01 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Apr 3 14:56:39 CEST 2008 - jsrain@suse.cz + +- save time zone during installation +- use proper 2nd stage workflow + +------------------------------------------------------------------- Tue Apr 1 12:38:36 CEST 2008 - jsrain@suse.cz - merged live installation control file to default control file Modified: trunk/live-installer/src/live-installer.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/live-installer/src/live-installer.ycp?rev=46030&r1=46029&r2=46030&view=diff ============================================================================== --- trunk/live-installer/src/live-installer.ycp (original) +++ trunk/live-installer/src/live-installer.ycp Thu Apr 3 14:57:01 2008 @@ -69,6 +69,9 @@ Stage::Set ("initial"); Storage::InitLibstorage (); + ProductControl::DisableAllModulesAndProposals ("live_installation", "continue"); + ProductControl::EnableModule ("automatic_configuration"); + // ProductControl::custom_control_file = LiveInstaller::live_control_file; if (!ProductControl::Init()) y2error("control file %1 not found", ProductControl::custom_control_file ); @@ -79,7 +82,6 @@ Report::LogErrors(true); Report::LogWarnings(true); - symbol ret = ProductControl::Run(); y2milestone("ProductControl::Run() returned: %1", ret); Modified: trunk/live-installer/src/live_save_config_finish.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/live-installer/src/live_save_config_finish.ycp?rev=46030&r1=46029&r2=46030&view=diff ============================================================================== --- trunk/live-installer/src/live_save_config_finish.ycp (original) +++ trunk/live-installer/src/live_save_config_finish.ycp Thu Apr 3 14:57:01 2008 @@ -39,13 +39,18 @@ if (func == "Info") { return (any)$[ - "steps" : 1, + "steps" : 3, "when" : [ `live_installation ], ]; } else if (func == "Write") { // progress step title + Progress::Title (_("Saving language...")); + Language::Save(); + Progress::NextStep (); + + // progress step title Progress::Title (_("Saving keyboard configuration...")); Keyboard::Save(true); // to save also X11 configuration @@ -53,6 +58,7 @@ // unfortunatelly it is saved to local system instead the target, therefore need to copy WFM::Execute (.local.bash, sformat ("/bin/cp /etc/X11/xorg.conf %1/etc/X11/xorg.conf", Installation::destdir)); Progress::NextStep (); + // progress step title Progress::Title (_("Saving time zone...")); Timezone::Save(); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org