Hello community,

here is the log from the commit of package yast2-tune for openSUSE:Factory 
checked in at 2014-05-15 19:08:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-tune (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-tune.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-tune"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-tune/yast2-tune.changes    2014-02-26 
23:20:32.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-tune.new/yast2-tune.changes       
2014-05-15 19:08:07.000000000 +0200
@@ -1,0 +2,6 @@
+Wed May 14 15:25:30 UTC 2014 - [email protected]
+
+- adapt to new bootloader kernel param API (bnc#869608)
+- 3.1.3
+
+-------------------------------------------------------------------

Old:
----
  yast2-tune-3.1.2.tar.bz2

New:
----
  yast2-tune-3.1.3.tar.bz2

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

Other differences:
------------------
++++++ yast2-tune.spec ++++++
--- /var/tmp/diff_new_pack.Mgbx3T/_old  2014-05-15 19:08:08.000000000 +0200
+++ /var/tmp/diff_new_pack.Mgbx3T/_new  2014-05-15 19:08:08.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-tune
-Version:        3.1.2
+Version:        3.1.3
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -94,6 +94,7 @@
 %doc %{yast_docdir}/COPYING
 
 %files devel-doc
+%defattr(-,root,root)
 %doc %{yast_docdir}/autodocs
 
 %changelog

++++++ yast2-tune-3.1.2.tar.bz2 -> yast2-tune-3.1.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-tune-3.1.2/package/yast2-tune.changes 
new/yast2-tune-3.1.3/package/yast2-tune.changes
--- old/yast2-tune-3.1.2/package/yast2-tune.changes     2014-02-25 
10:50:58.000000000 +0100
+++ new/yast2-tune-3.1.3/package/yast2-tune.changes     2014-05-14 
17:35:45.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Wed May 14 15:25:30 UTC 2014 - [email protected]
+
+- adapt to new bootloader kernel param API (bnc#869608)
+- 3.1.3
+
+-------------------------------------------------------------------
 Tue Feb 25 10:17:36 CET 2014 - [email protected]
 
 - Fixed "Kernel Settings" tab layout (bnc#865366)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-tune-3.1.2/package/yast2-tune.spec 
new/yast2-tune-3.1.3/package/yast2-tune.spec
--- old/yast2-tune-3.1.2/package/yast2-tune.spec        2014-02-25 
10:50:58.000000000 +0100
+++ new/yast2-tune-3.1.3/package/yast2-tune.spec        2014-05-14 
17:35:45.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-tune
-Version:        3.1.2
+Version:        3.1.3
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -94,6 +94,7 @@
 %doc %{yast_docdir}/COPYING
 
 %files devel-doc
+%defattr(-,root,root)
 %doc %{yast_docdir}/autodocs
 
 %changelog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-tune-3.1.2/src/modules/SystemSettings.rb 
new/yast2-tune-3.1.3/src/modules/SystemSettings.rb
--- old/yast2-tune-3.1.2/src/modules/SystemSettings.rb  2014-02-25 
10:50:58.000000000 +0100
+++ new/yast2-tune-3.1.3/src/modules/SystemSettings.rb  2014-05-14 
17:35:45.000000000 +0200
@@ -74,20 +74,17 @@
       end
 
       # get 'elevator' option from the default section
-      elevator_parameter = Bootloader.getKernelParam(
-        Bootloader.getDefaultSection,
-        "elevator"
-      )
+      elevator_parameter = Bootloader.kernel_param(:common, "elevator")
 
       Builtins.y2milestone("elevator_parameter: %1", elevator_parameter)
 
       # Variable is not set
-      if elevator_parameter == false || elevator_parameter == "false"
-        @elevator = "" 
+      if elevator_parameter == :missing
+        @elevator = ""
         # Variable is set but has not parameter
-      elsif elevator_parameter == true || elevator_parameter == "true"
+      elsif elevator_parameter == :present
         Builtins.y2warning("'elevator' variable has to have some value")
-        @elevator = "" 
+        @elevator = ""
         # Variable is set but hasn't any known value
       elsif !Builtins.contains(
           GetPossibleElevatorValues(),
@@ -98,7 +95,7 @@
           GetPossibleElevatorValues(),
           elevator_parameter
         )
-        @elevator = "" 
+        @elevator = ""
         # Variable is OK
       else
         @elevator = Convert.to_string(elevator_parameter)
@@ -125,15 +122,11 @@
 
       if @elevator != nil
         Yast.import "Bootloader"
-        new_elevator = @elevator == "" ? "false" : @elevator
+        new_elevator = @elevator == "" ? :missing : @elevator
 
         Builtins.y2milestone("Activating scheduler: %1", new_elevator)
         # set the scheduler
-        Bootloader.setKernelParam(
-          Bootloader.getDefaultSection,
-          "elevator",
-          new_elevator
-        ) 
+        Bootloader.modify_kernel_params("elevator" => new_elevator)
 
         # TODO FIXME: set the scheduler for all disk devices,
         # reboot is required to activate the new scheduler now

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

Reply via email to