commit yast2 for openSUSE:Factory
Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2014-06-26 08:00:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2014-06-18 10:59:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-06-26 08:00:45.000000000 +0200 @@ -1,0 +2,13 @@ +Tue Jun 24 12:59:43 UTC 2014 - jreidinger@suse.com + +- add option to disable os probing for some products (bnc#884007) +- 3.1.81 + +------------------------------------------------------------------- +Mon Jun 23 10:38:15 UTC 2014 - mfilka@suse.com + +- bnc#864619 + - old network service is also disabled when switching to new one. +- 3.1.80 + +------------------------------------------------------------------- Old: ---- yast2-3.1.79.tar.bz2 New: ---- yast2-3.1.81.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2.spec ++++++ --- /var/tmp/diff_new_pack.vsSUyE/_old 2014-06-26 08:00:47.000000000 +0200 +++ /var/tmp/diff_new_pack.vsSUyE/_new 2014-06-26 08:00:47.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version: 3.1.79 +Version: 3.1.81 Release: 0 Url: https://github.com/yast/yast-yast2 ++++++ yast2-3.1.79.tar.bz2 -> yast2-3.1.81.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.79/library/control/src/modules/ProductFeatures.rb new/yast2-3.1.81/library/control/src/modules/ProductFeatures.rb --- old/yast2-3.1.79/library/control/src/modules/ProductFeatures.rb 2014-06-17 16:47:52.000000000 +0200 +++ new/yast2-3.1.81/library/control/src/modules/ProductFeatures.rb 2014-06-24 16:12:52.000000000 +0200 @@ -65,6 +65,7 @@ "relnotesurl" => "", "vendor_url" => "", "enable_clone" => false, + "disable_os_prober" => false, # FATE #304865 "base_product_license_directory" => "/etc/YaST2/licenses/base/" }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.79/library/network/src/modules/NetworkService.rb new/yast2-3.1.81/library/network/src/modules/NetworkService.rb --- old/yast2-3.1.79/library/network/src/modules/NetworkService.rb 2014-06-17 16:47:52.000000000 +0200 +++ new/yast2-3.1.81/library/network/src/modules/NetworkService.rb 2014-06-24 16:12:52.000000000 +0200 @@ -26,8 +26,6 @@ # Summary: Init script handling, ifup vs NetworkManager # Authors: Martin Vidner <mvidner@suse.cz> # -# $Id$ -# # This module used to switch between /etc/init.d/network providing # LSB network.service and the NetworkManager.service (or another), # which installs a network.service alias link. @@ -107,7 +105,7 @@ end def run_wicked(*params) - cmd = "#{WICKED} #{params.join(" ")}" + cmd = "#{WICKED} #{params.join(" ")}" ret = SCR.Execute( path(".target.bash"), cmd @@ -132,7 +130,7 @@ # Checks if configuration is managed by NetworkManager # - # @return true when the network is managed by an external tool, + # @return true when the network is managed by an external tool, # like NetworkManager, false otherwise def network_manager? cached_service?(:network_manager) @@ -183,7 +181,7 @@ def disable @cached_name = nil stop_service(@current_name) - RunSystemCtl( BACKENDS[ @current_name], "disable") + disable_service(@current_name) Read() end @@ -208,23 +206,12 @@ nil end - # Run /etc/init.d script with specified action - # @param script name of the init script - # @param action the action to use - # @return true, when the script exits with 0 - def RunScript(script, action) - return true if script == "" - Builtins.y2milestone("rc%1 %2", script, action) - # Workaround for bug #61055: - cmd = Builtins.sformat("cd /; /etc/init.d/%1 %2", script, action) - SCR.Execute(path(".target.bash"), cmd) == 0 - end - # Helper to apply a change of the network service def EnableDisableNow return if !Modified() stop_service(@current_name) + disable_service(@current_name) case @cached_name when :network_manager, :wicked @@ -455,6 +442,10 @@ end end + def disable_service(service) + RunSystemCtl( BACKENDS[service], "disable") + end + publish :function => :Read, :type => "void ()" publish :function => :Modified, :type => "boolean ()" publish :function => :is_backend_available, :type => "boolean (symbol)" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.79/package/yast2.changes new/yast2-3.1.81/package/yast2.changes --- old/yast2-3.1.79/package/yast2.changes 2014-06-17 16:47:53.000000000 +0200 +++ new/yast2-3.1.81/package/yast2.changes 2014-06-24 16:12:52.000000000 +0200 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Tue Jun 24 12:59:43 UTC 2014 - jreidinger@suse.com + +- add option to disable os probing for some products (bnc#884007) +- 3.1.81 + +------------------------------------------------------------------- +Mon Jun 23 10:38:15 UTC 2014 - mfilka@suse.com + +- bnc#864619 + - old network service is also disabled when switching to new one. +- 3.1.80 + +------------------------------------------------------------------- Tue Jun 17 12:56:20 CEST 2014 - schubi@suse.de - Fixed error message for missing services diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.79/package/yast2.spec new/yast2-3.1.81/package/yast2.spec --- old/yast2-3.1.79/package/yast2.spec 2014-06-17 16:47:53.000000000 +0200 +++ new/yast2-3.1.81/package/yast2.spec 2014-06-24 16:12:52.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version: 3.1.79 +Version: 3.1.81 Release: 0 URL: https://github.com/yast/yast-yast2 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de