[yast-commit] r40638 - in /trunk/yast2: VERSION library/system/src/Kernel.ycp package/yast2.changes
Author: locilka Date: Fri Aug 31 10:49:47 2007 New Revision: 40638 URL: http://svn.opensuse.org/viewcvs/yast?rev=40638&view=rev Log: - Fixing evaluation of unreadable cpuflags in Kernel.ycp (#303842). - 2.15.51 Modified: trunk/yast2/VERSION trunk/yast2/library/system/src/Kernel.ycp trunk/yast2/package/yast2.changes Modified: trunk/yast2/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/VERSION?rev=40638&r1=40637&r2=40638&view=diff ============================================================================== --- trunk/yast2/VERSION (original) +++ trunk/yast2/VERSION Fri Aug 31 10:49:47 2007 @@ -1 +1 @@ -2.15.50 +2.15.51 Modified: trunk/yast2/library/system/src/Kernel.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/system/src/Kernel.ycp?rev=40638&r1=40637&r2=40638&view=diff ============================================================================== --- trunk/yast2/library/system/src/Kernel.ycp (original) +++ trunk/yast2/library/system/src/Kernel.ycp Fri Aug 31 10:49:47 2007 @@ -373,7 +373,15 @@ // get flags from WFM /proc/cpuinfo (for pae and tsc tests below) string cpuinfo_flags = (string) SCR::Read(.proc.cpuinfo.value."0"."flags"); // check only first processor - list cpuflags = (size(cpuinfo_flags) > 0) ? splitstring(cpuinfo_flags, " ") : []; + list cpuflags = []; + + // bugzilla #303842 + if (cpuflags != nil) { + cpuflags = (size(cpuinfo_flags) > 0) ? splitstring(cpuinfo_flags, " ") : []; + } else { + y2error ("Cannot read cpuflags"); + y2milestone ("Mounted: %1", SCR::Execute (.target.bash_output, "mount -l")); + } /* // check for "roughly" >= 4GB memory (see bug #40729) list memories = (list) SCR::Read(.probe.memory); Modified: trunk/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=40638&r1=40637&r2=40638&view=diff ============================================================================== --- trunk/yast2/package/yast2.changes (original) +++ trunk/yast2/package/yast2.changes Fri Aug 31 10:49:47 2007 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Aug 31 10:34:10 CEST 2007 - locilka@suse.cz + +- Fixing evaluation of unreadable cpuflags in Kernel.ycp (#303842). +- 2.15.51 + +------------------------------------------------------------------- Thu Aug 30 11:25:02 CEST 2007 - jsrain@suse.cz - removed the -s/--style option from manpage and help (#300362) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org