Hello community, here is the log from the commit of package yast2-tune for openSUSE:Factory checked in at 2015-01-23 16:18:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-12-05 21:02:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-tune.new/yast2-tune.changes 2015-01-23 16:18:42.000000000 +0100 @@ -1,0 +2,7 @@ +Wed Jan 14 13:13:12 UTC 2015 - lsle...@suse.cz + +- activate the global IO scheduler settings (bnc#779146) +- removed "boot.sysctl" service activation (it has been renamed to + "systemd-sysctl" service and it cannot be disabled anyway) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-tune.spec ++++++ --- /var/tmp/diff_new_pack.DrHeI4/_old 2015-01-23 16:18:43.000000000 +0100 +++ /var/tmp/diff_new_pack.DrHeI4/_new 2015-01-23 16:18:43.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-tune # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ yast2-tune-3.1.6.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-tune-3.1.6/package/yast2-tune.changes new/yast2-tune-3.1.6/package/yast2-tune.changes --- old/yast2-tune-3.1.6/package/yast2-tune.changes 2014-12-04 11:07:21.000000000 +0100 +++ new/yast2-tune-3.1.6/package/yast2-tune.changes 2015-01-14 15:49:10.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Jan 14 13:13:12 UTC 2015 - lsle...@suse.cz + +- activate the global IO scheduler settings (bnc#779146) +- removed "boot.sysctl" service activation (it has been renamed to + "systemd-sysctl" service and it cannot be disabled anyway) + +------------------------------------------------------------------- Thu Dec 4 09:51:45 UTC 2014 - jreidin...@suse.com - remove X-KDE-Library from desktop file (bnc#899104) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-tune-3.1.6/src/include/hwinfo/system_settings_dialogs.rb new/yast2-tune-3.1.6/src/include/hwinfo/system_settings_dialogs.rb --- old/yast2-tune-3.1.6/src/include/hwinfo/system_settings_dialogs.rb 2014-12-04 11:07:22.000000000 +0100 +++ new/yast2-tune-3.1.6/src/include/hwinfo/system_settings_dialogs.rb 2015-01-14 15:49:10.000000000 +0100 @@ -192,7 +192,7 @@ "contents" => @contents, "caption" => caption, # hide back button - "back_button" => nil, + "back_button" => "", "abort_button" => Label.CancelButton, "next_button" => Label.OKButton } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-tune-3.1.6/src/modules/SystemSettings.rb new/yast2-tune-3.1.6/src/modules/SystemSettings.rb --- old/yast2-tune-3.1.6/src/modules/SystemSettings.rb 2014-12-04 11:07:22.000000000 +0100 +++ new/yast2-tune-3.1.6/src/modules/SystemSettings.rb 2015-01-14 15:49:10.000000000 +0100 @@ -13,6 +13,8 @@ module Yast class SystemSettingsClass < Module + include Yast::Logger + def main textdomain "tune" @@ -128,8 +130,13 @@ # set the scheduler 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 + # activate the scheduler for all disk devices + if new_elevator != :missing + Dir["/sys/block/*/queue/scheduler"].each do |f| + log.info "Activating scheduler '#{new_elevator}' for device #{f}" + File.write(f, new_elevator) + end + end end true @@ -150,9 +157,6 @@ ) end - # enable boot.sysctl service which sets the value after boot - Service.Enable("boot.sysctl") - # the bootloader configuration is written at the end of the first stage if Mode.normal # write the elevator setting -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org