Hello community, here is the log from the commit of package autoyast2 for openSUSE:Factory checked in at 2014-12-25 23:20:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old) and /work/SRC/openSUSE:Factory/.autoyast2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "autoyast2" Changes: -------- --- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes 2014-12-05 21:02:44.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.autoyast2.new/autoyast2.changes 2014-12-25 23:19:52.000000000 +0100 @@ -1,0 +2,13 @@ +Tue Dec 23 10:56:30 CET 2014 - schubi@suse.de + +- Setting normal mode while applying single module settings to + system. (bnc#909223) +- 3.1.71 + +------------------------------------------------------------------- +Thu Dec 18 10:54:01 CET 2014 - schubi@suse.de + +- Removed code which will be already done by service_manager. + (bnc#909745) + +------------------------------------------------------------------- Old: ---- autoyast2-3.1.70.tar.bz2 New: ---- autoyast2-3.1.71.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autoyast2.spec ++++++ --- /var/tmp/diff_new_pack.cM1xiY/_old 2014-12-25 23:19:54.000000000 +0100 +++ /var/tmp/diff_new_pack.cM1xiY/_new 2014-12-25 23:19:54.000000000 +0100 @@ -17,7 +17,7 @@ Name: autoyast2 -Version: 3.1.70 +Version: 3.1.71 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ autoyast2-3.1.70.tar.bz2 -> autoyast2-3.1.71.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.70/package/autoyast2.changes new/autoyast2-3.1.71/package/autoyast2.changes --- old/autoyast2-3.1.70/package/autoyast2.changes 2014-12-04 10:52:22.000000000 +0100 +++ new/autoyast2-3.1.71/package/autoyast2.changes 2014-12-23 12:04:14.000000000 +0100 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Tue Dec 23 10:56:30 CET 2014 - schubi@suse.de + +- Setting normal mode while applying single module settings to + system. (bnc#909223) +- 3.1.71 + +------------------------------------------------------------------- +Thu Dec 18 10:54:01 CET 2014 - schubi@suse.de + +- Removed code which will be already done by service_manager. + (bnc#909745) + +------------------------------------------------------------------- Thu Dec 4 09:49:27 UTC 2014 - jreidinger@suse.com - remove X-KDE-Library from desktop file (bnc#899104) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.70/package/autoyast2.spec new/autoyast2-3.1.71/package/autoyast2.spec --- old/autoyast2-3.1.70/package/autoyast2.spec 2014-12-04 10:52:22.000000000 +0100 +++ new/autoyast2-3.1.71/package/autoyast2.spec 2014-12-23 12:04:14.000000000 +0100 @@ -17,7 +17,7 @@ Name: autoyast2 -Version: 3.1.70 +Version: 3.1.71 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.70/src/clients/inst_autosetup.rb new/autoyast2-3.1.71/src/clients/inst_autosetup.rb --- old/autoyast2-3.1.70/src/clients/inst_autosetup.rb 2014-12-04 10:52:22.000000000 +0100 +++ new/autoyast2-3.1.71/src/clients/inst_autosetup.rb 2014-12-23 12:04:14.000000000 +0100 @@ -42,6 +42,7 @@ Yast.import "LanUdevAuto" Yast.import "Language" Yast.import "Console" + Yast.import "ServicesManager" Yast.include self, "bootloader/routines/autoinstall.rb" Yast.include self, "autoinstall/ask.rb" @@ -354,34 +355,17 @@ Progress.NextStage - #still supporting old format "runlevel" - if Profile.current['runlevel'] - if Profile.current['runlevel']['default'] - default_runlevel = Profile.current['runlevel']['default'].to_i - @default_target = default_runlevel == 5 ? Target::GRAPHICAL : Target::MULTIUSER - Builtins.y2milestone("Accepting runlevel '#{default_runlevel}' as default target '#{@default_target}'") - elsif Profile.current['runlevel']['default_target'] - @default_target = Profile.current['runlevel']['default_target'].to_s - end - elsif Profile.current['services-manager'] &&Profile.current['services-manager']['default_target'] - @default_target = Profile.current['services-manager']['default_target'].to_s - end - - Builtins.y2milestone("autoyast - configured default target: '#{@default_target}'") - - if @default_target && !@default_target.empty? - ServicesManagerTarget.default_target = @default_target + if Profile.current.has_key? ('runlevel') + # still supporting old format "runlevel" + ServicesManager.import(Profile.current['runlevel']) + elsif Profile.current.has_key? ('services-manager') + ServicesManager.import(Profile.current['services-manager']) else - ServicesManagerTarget.default_target = Installation.x11_setup_needed && - Arch.x11_setup_needed && - Pkg.IsSelected("xorg-x11-server") ? Target::GRAPHICAL : Target::MULTIUSER + # We will have to set default entries which are defined + # in the import call of ServicesManager + ServicesManager.import({}) end - Builtins.y2milestone( - "autoyast - setting default target to: #{ServicesManagerTarget.default_target}" - ) - - # AutoInstall::PXELocalBoot(); Progress.Finish @ret = ProductControl.RunFrom( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.70/src/include/autoinstall/conftree.rb new/autoyast2-3.1.71/src/include/autoinstall/conftree.rb --- old/autoyast2-3.1.70/src/include/autoinstall/conftree.rb 2014-12-04 10:52:22.000000000 +0100 +++ new/autoyast2-3.1.71/src/include/autoinstall/conftree.rb 2014-12-23 12:04:14.000000000 +0100 @@ -572,7 +572,12 @@ modulename ) ) + oldMode = Mode.mode + # The settings will be written in a running system. + # So we are switching to "normal" mode. (bnc#909223) + Mode.SetMode("normal") Call.Function(module_auto, ["Write"]) + Mode.SetMode(oldMode) end end elsif ret == :read -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org