Hello community,

here is the log from the commit of package yast2-kdump for openSUSE:Factory 
checked in at 2015-10-20 16:21:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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  2015-09-24 
07:18:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-kdump.new/yast2-kdump.changes     
2015-10-20 16:21:35.000000000 +0200
@@ -1,0 +2,26 @@
+Mon Oct 12 12:17:16 UTC 2015 - [email protected]
+
+- when fadump changed write show popup that reboot is needed
+  (bnc#945018)
+- 3.1.33
+
+-------------------------------------------------------------------
+Thu Oct  1 08:40:27 UTC 2015 - [email protected]
+
+- Prevent users from setting a combination of crashkernel values
+  that are bigger than the total memory (bnc#882082)
+- 3.1.32
+-------------------------------------------------------------------
+Tue Sep 29 07:03:30 UTC 2015 - [email protected]
+
+- Update AutoYaST rnc to allow specifying multiple values
+  for crash_kernel parameter (bnc#882082).
+- 3.1.31
+
+-------------------------------------------------------------------
+Mon Sep 28 14:37:26 UTC 2015 - [email protected]
+
+- Prevent kdumptool to be called more than once (bnc#882082)
+- 3.1.30
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ yast2-kdump.spec ++++++
--- /var/tmp/diff_new_pack.kKmKjS/_old  2015-10-20 16:21:35.000000000 +0200
+++ /var/tmp/diff_new_pack.kKmKjS/_new  2015-10-20 16:21:35.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-kdump
-Version:        3.1.29
+Version:        3.1.33
 Release:        0
 Summary:        Configuration of kdump
 License:        GPL-2.0

++++++ yast2-kdump-3.1.29.tar.bz2 -> yast2-kdump-3.1.33.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.29/package/yast2-kdump.changes 
new/yast2-kdump-3.1.33/package/yast2-kdump.changes
--- old/yast2-kdump-3.1.29/package/yast2-kdump.changes  2015-09-21 
12:59:10.000000000 +0200
+++ new/yast2-kdump-3.1.33/package/yast2-kdump.changes  2015-10-12 
15:34:12.000000000 +0200
@@ -1,4 +1,30 @@
 -------------------------------------------------------------------
+Mon Oct 12 12:17:16 UTC 2015 - [email protected]
+
+- when fadump changed write show popup that reboot is needed
+  (bnc#945018)
+- 3.1.33
+
+-------------------------------------------------------------------
+Thu Oct  1 08:40:27 UTC 2015 - [email protected]
+
+- Prevent users from setting a combination of crashkernel values
+  that are bigger than the total memory (bnc#882082)
+- 3.1.32
+-------------------------------------------------------------------
+Tue Sep 29 07:03:30 UTC 2015 - [email protected]
+
+- Update AutoYaST rnc to allow specifying multiple values
+  for crash_kernel parameter (bnc#882082).
+- 3.1.31
+
+-------------------------------------------------------------------
+Mon Sep 28 14:37:26 UTC 2015 - [email protected]
+
+- Prevent kdumptool to be called more than once (bnc#882082)
+- 3.1.30
+
+-------------------------------------------------------------------
 Mon Sep 21 10:47:53 UTC 2015 - [email protected]
 
 - More robust fix for bnc#946639 (see previous changelog message),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.29/package/yast2-kdump.spec 
new/yast2-kdump-3.1.33/package/yast2-kdump.spec
--- old/yast2-kdump-3.1.29/package/yast2-kdump.spec     2015-09-21 
12:59:10.000000000 +0200
+++ new/yast2-kdump-3.1.33/package/yast2-kdump.spec     2015-10-12 
15:34:12.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-kdump
-Version:        3.1.29
+Version:        3.1.33
 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.29/src/autoyast-rnc/kdump.rnc 
new/yast2-kdump-3.1.33/src/autoyast-rnc/kdump.rnc
--- old/yast2-kdump-3.1.29/src/autoyast-rnc/kdump.rnc   2015-09-21 
12:59:10.000000000 +0200
+++ new/yast2-kdump-3.1.33/src/autoyast-rnc/kdump.rnc   2015-10-12 
15:34:12.000000000 +0200
@@ -5,12 +5,17 @@
 
 kdump =
   element kdump {
-     kdump_crash_kernel? &
+     (kdump_crash_kernel_value | kdump_crash_kernel_list)? &
      kdump_add_crash_kernel? &
      kdump_general?
 }
 
-kdump_crash_kernel = element crash_kernel { text }
+kdump_crash_kernel_value = element crash_kernel { text }
+kdump_crash_kernel_list = element crash_kernel {
+     LIST,
+     kdump_crash_kernel_entry+
+}
+kdump_crash_kernel_entry = element listentry { text }
 kdump_add_crash_kernel = element add_crash_kernel { BOOLEAN }
 
 kdump_general =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.29/src/include/kdump/uifunctions.rb 
new/yast2-kdump-3.1.33/src/include/kdump/uifunctions.rb
--- old/yast2-kdump-3.1.29/src/include/kdump/uifunctions.rb     2015-09-21 
12:59:10.000000000 +0200
+++ new/yast2-kdump-3.1.33/src/include/kdump/uifunctions.rb     2015-10-12 
15:34:12.000000000 +0200
@@ -1431,6 +1431,11 @@
       event = deep_copy(event)
       ret = Ops.get(event, "ID")
       if ["allocated_low_memory", "allocated_high_memory"].include?(ret)
+        remaining = Kdump.total_memory - allocated_memory
+        if remaining <= 0
+          # Substract (remaining is negative) the excess from the current value
+          UI.ChangeWidget(Id(ret), :Value, send(ret.to_sym) + remaining)
+        end
         update_usable_memory
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.29/src/lib/kdump/kdump_calibrator.rb 
new/yast2-kdump-3.1.33/src/lib/kdump/kdump_calibrator.rb
--- old/yast2-kdump-3.1.29/src/lib/kdump/kdump_calibrator.rb    2015-09-21 
12:59:10.000000000 +0200
+++ new/yast2-kdump-3.1.33/src/lib/kdump/kdump_calibrator.rb    2015-10-12 
15:34:12.000000000 +0200
@@ -135,7 +135,7 @@
       else
         log.warn("kdumptool could not be executed: #{out["stderr"]}")
       end
-      @kdump_executed = true
+      @kdumptool_executed = true
     end
 
     # Parses kdumptool output
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.29/src/modules/Kdump.rb 
new/yast2-kdump-3.1.33/src/modules/Kdump.rb
--- old/yast2-kdump-3.1.29/src/modules/Kdump.rb 2015-09-21 12:59:10.000000000 
+0200
+++ new/yast2-kdump-3.1.33/src/modules/Kdump.rb 2015-10-12 15:34:12.000000000 
+0200
@@ -94,12 +94,6 @@
       # list <string>
       @uknown_fs_partitions = []
 
-      # Total available memory [MB]
-      #
-      #
-      # integer
-      @total_memory = 0
-
       # Boolean option indicates that "crashkernel" includes
       # several values for the same kind of memory (low, high)
       # or several ranges in one of the values
@@ -473,7 +467,7 @@
           crash_values = crash_kernel_values
           remove_offsets!(crash_values) if Mode.update
           # Skip writing of param if it's already set to the desired values
-          skip_crash_values = @crashkernel_param && @crashkernel_param_values 
== crash_values
+          skip_crash_values = @crashkernel_param && @crashkernel_param_values 
== crash_values && !using_fadump_changed?
         end
 
         if skip_crash_values


Reply via email to