Hello community,

here is the log from the commit of package yast2-kdump for openSUSE:Factory 
checked in at 2014-07-24 06:57:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-kdump (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-kdump.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-kdump"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-kdump/yast2-kdump.changes  2014-07-02 
15:04:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-kdump.new/yast2-kdump.changes     
2014-07-24 06:57:25.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Jul 21 17:21:06 CEST 2014 - [email protected]
+
+- Reading crashkernel parameter value only if it's set a non-empty.
+  (bnc#887901)
+- 3.1.17
+
+-------------------------------------------------------------------

Old:
----
  yast2-kdump-3.1.16.tar.bz2

New:
----
  yast2-kdump-3.1.17.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-kdump.spec ++++++
--- /var/tmp/diff_new_pack.DmkeQc/_old  2014-07-24 06:57:26.000000000 +0200
+++ /var/tmp/diff_new_pack.DmkeQc/_new  2014-07-24 06:57:26.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-kdump
-Version:        3.1.16
+Version:        3.1.17
 Release:        0
 Summary:        Configuration of kdump
 License:        GPL-2.0

++++++ yast2-kdump-3.1.16.tar.bz2 -> yast2-kdump-3.1.17.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.16/package/yast2-kdump.changes 
new/yast2-kdump-3.1.17/package/yast2-kdump.changes
--- old/yast2-kdump-3.1.16/package/yast2-kdump.changes  2014-07-01 
08:09:12.000000000 +0200
+++ new/yast2-kdump-3.1.17/package/yast2-kdump.changes  2014-07-21 
18:05:12.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Mon Jul 21 17:21:06 CEST 2014 - [email protected]
+
+- Reading crashkernel parameter value only if it's set a non-empty.
+  (bnc#887901)
+- 3.1.17
+
+-------------------------------------------------------------------
 Mon Jun 30 11:38:01 UTC 2014 - [email protected]
 
 - Use kdump.rpm also on ppc64; kernel-kdump.rpm is gone
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.16/package/yast2-kdump.spec 
new/yast2-kdump-3.1.17/package/yast2-kdump.spec
--- old/yast2-kdump-3.1.16/package/yast2-kdump.spec     2014-07-01 
08:09:12.000000000 +0200
+++ new/yast2-kdump-3.1.17/package/yast2-kdump.spec     2014-07-21 
18:05:12.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-kdump
-Version:        3.1.16
+Version:        3.1.17
 Release:        0
 Summary:        Configuration of kdump
 License:        GPL-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.16/src/modules/Kdump.rb 
new/yast2-kdump-3.1.17/src/modules/Kdump.rb
--- old/yast2-kdump-3.1.16/src/modules/Kdump.rb 2014-07-01 08:09:12.000000000 
+0200
+++ new/yast2-kdump-3.1.17/src/modules/Kdump.rb 2014-07-21 18:05:12.000000000 
+0200
@@ -339,6 +339,10 @@
     def ReadKdumpKernelParam
       result = Bootloader.kernel_param(:common, "crashkernel")
       result = Bootloader.kernel_param(:xen_guest, "crashkernel") if result == 
:missing
+      # result could be [String,:missing,:present]
+      # String   - the value
+      # :missing - crashkernel is missed
+      # :present - crashkernel is defined but no value is available
 
       #Popup::Message(result);
       if result == :missing
@@ -350,7 +354,9 @@
       end
 
       @crashkernel_param_value = result
-      if result != :missing
+      if result != :missing && result != :present
+        # Read the current value only if crashkernel parameter is set.
+        # (bnc#887901)
         @allocated_memory = getAllocatedMemory(@crashkernel_param_value)
       end
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to