Hello community,

here is the log from the commit of package yast2-kdump for openSUSE:Factory 
checked in at 2016-07-07 15:09:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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  2016-04-22 
16:18:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-kdump.new/yast2-kdump.changes     
2016-07-07 15:09:52.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Jun 27 13:23:28 UTC 2016 - [email protected]
+
+- Skip writing bootloader configuration in installation, as it
+  will be written later by yast2-bootloader. This will speed up
+  installation. (bnc#984649)
+- 3.1.38
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ yast2-kdump.spec ++++++
--- /var/tmp/diff_new_pack.wL59mO/_old  2016-07-07 15:09:53.000000000 +0200
+++ /var/tmp/diff_new_pack.wL59mO/_new  2016-07-07 15:09:53.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-kdump
-Version:        3.1.37
+Version:        3.1.38
 Release:        0
 Summary:        Configuration of kdump
 License:        GPL-2.0
@@ -43,6 +43,8 @@
 Requires:       yast2-storage
 # SpaceCalculation.GetPartitionInfo
 Requires:       yast2-packager
+# do not use old installation with wrong finish order
+Conflicts:      yast2-installation < 3.1.198
 Recommends:     makedumpfile
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %ifarch ppc

++++++ yast2-kdump-3.1.37.tar.bz2 -> yast2-kdump-3.1.38.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.37/package/yast2-kdump.changes 
new/yast2-kdump-3.1.38/package/yast2-kdump.changes
--- old/yast2-kdump-3.1.37/package/yast2-kdump.changes  2016-04-13 
14:18:24.000000000 +0200
+++ new/yast2-kdump-3.1.38/package/yast2-kdump.changes  2016-06-29 
11:29:09.000000000 +0200
@@ -1,4 +1,12 @@
 -------------------------------------------------------------------
+Mon Jun 27 13:23:28 UTC 2016 - [email protected]
+
+- Skip writing bootloader configuration in installation, as it
+  will be written later by yast2-bootloader. This will speed up
+  installation. (bnc#984649)
+- 3.1.38
+
+-------------------------------------------------------------------
 Wed Apr 13 11:47:38 UTC 2016 - [email protected]
 
 - Remove unused import of dropped BootCommon package
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.37/package/yast2-kdump.spec 
new/yast2-kdump-3.1.38/package/yast2-kdump.spec
--- old/yast2-kdump-3.1.37/package/yast2-kdump.spec     2016-04-13 
14:18:25.000000000 +0200
+++ new/yast2-kdump-3.1.38/package/yast2-kdump.spec     2016-06-29 
11:29:09.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-kdump
-Version:        3.1.37
+Version:        3.1.38
 Release:        0
 Summary:        Configuration of kdump
 License:        GPL-2.0
@@ -43,6 +43,8 @@
 Requires:       yast2-storage
 # SpaceCalculation.GetPartitionInfo
 Requires:       yast2-packager
+# do not use old installation with wrong finish order
+Conflicts:      yast2-installation < 3.1.198
 Recommends:     makedumpfile
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %ifarch ppc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.37/src/modules/Kdump.rb 
new/yast2-kdump-3.1.38/src/modules/Kdump.rb
--- old/yast2-kdump-3.1.37/src/modules/Kdump.rb 2016-04-13 14:18:25.000000000 
+0200
+++ new/yast2-kdump-3.1.38/src/modules/Kdump.rb 2016-06-29 11:29:09.000000000 
+0200
@@ -468,9 +468,12 @@
           Service.Restart(KDUMP_SERVICE_NAME) if 
Service.active?(KDUMP_SERVICE_NAME)
         else
           Bootloader.modify_kernel_params(:common, :xen_guest, :recovery, 
"crashkernel" => crash_values)
-          old_progress = Progress.set(false)
-          Bootloader.Write
-          Progress.set(old_progress)
+          # do mass write in installation to speed up, so skip this one
+          if !Stage.initial
+            old_progress = Progress.set(false)
+            Bootloader.Write
+            Progress.set(old_progress)
+          end
           Builtins.y2milestone(
             "[kdump] (WriteKdumpBootParameter) adding chrashkernel options 
with values: %1",
             crash_values
@@ -483,9 +486,11 @@
         if @crashkernel_param
           #delete crashkernel parameter from bootloader
           Bootloader.modify_kernel_params(:common, :xen_guest, :recovery, 
"crashkernel" => :missing)
-          old_progress = Progress.set(false)
-          Bootloader.Write
-          Progress.set(old_progress)
+          if !Stage.initial
+            old_progress = Progress.set(false)
+            Bootloader.Write
+            Progress.set(old_progress)
+          end
           reboot_needed = true
         end
         Service.Disable(KDUMP_SERVICE_NAME)
@@ -1125,7 +1130,7 @@
             value = nil
         end
         Bootloader.modify_kernel_params(:common, :xen_guest, :recovery, 
"fadump" => value)
-        Bootloader.Write
+        Bootloader.Write unless Yast::Stage.initial # do mass write in 
installation to speed up
       end
     end
   end


Reply via email to