Author: jsrain Date: Wed Jan 19 12:54:13 2011 New Revision: 63211 URL: http://svn.opensuse.org/viewcvs/yast?rev=63211&view=rev Log: fixed progress during live installation (bnc#665413) Modified: trunk/installation/VERSION trunk/installation/package/yast2-installation.changes trunk/installation/src/modules/ImageInstallation.ycp Modified: trunk/installation/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/VERSION?rev=63211&r1=63210&r2=63211&view=diff ============================================================================== --- trunk/installation/VERSION (original) +++ trunk/installation/VERSION Wed Jan 19 12:54:13 2011 @@ -1 +1 @@ -2.20.1 +2.20.2 Modified: trunk/installation/package/yast2-installation.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/package/yast2-installation.changes?rev=63211&r1=63210&r2=63211&view=diff ============================================================================== --- trunk/installation/package/yast2-installation.changes (original) +++ trunk/installation/package/yast2-installation.changes Wed Jan 19 12:54:13 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Jan 19 12:53:00 CET 2011 - jsrain@suse.cz + +- fixed progress during live installation (bnc#665413) +- 2.20.2 + +------------------------------------------------------------------- Fri Jan 7 13:43:01 CET 2011 - jsrain@suse.cz - update XFCE desktop definition Modified: trunk/installation/src/modules/ImageInstallation.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/modules/ImageInstallation.ycp?rev=63211&r1=63210&r2=63211&view=diff ============================================================================== --- trunk/installation/src/modules/ImageInstallation.ycp (original) +++ trunk/installation/src/modules/ImageInstallation.ycp Wed Jan 19 12:54:13 2011 @@ -898,7 +898,7 @@ y2milestone ("Output: %1", out); string total_str = out["stdout"]:""; total_str = splitstring(total_str, "\n")[1]:""; - integer total_mb = tointeger (filter (string s, splitstring (total_str, " "), {return s != "";})[2]:"0"); + integer total_mb = tointeger (filter (string s, splitstring (total_str, " "), {return s != "";})[2]:"0") / 1024; /* Using df-based progress estimation, is rather faster may be less precise @@ -911,7 +911,7 @@ integer total_mb = tointeger (total_str); */ if (total_mb == 0) - total_mb = 1024*1024*1024; // should be big enough + total_mb = 1024; // should be big enough string tmp_pipe1 = (string)SCR::Read (.target.tmpdir) + "/system_clone_fifo_1"; string tmp_pipe2 = (string)SCR::Read (.target.tmpdir) + "/system_clone_fifo_2"; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org