Hello community, here is the log from the commit of package autoyast2 for openSUSE:Factory checked in at 2013-12-04 12:21:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2013-11-30 19:55:12.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.autoyast2.new/autoyast2.changes 2013-12-04 12:21:54.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Dec 3 14:45:40 UTC 2013 - [email protected] + +- Support legacy runlevel profile +- 3.1.3 + +------------------------------------------------------------------- Old: ---- autoyast2-3.1.2.tar.bz2 New: ---- autoyast2-3.1.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autoyast2.spec ++++++ --- /var/tmp/diff_new_pack.6BXrD6/_old 2013-12-04 12:21:54.000000000 +0100 +++ /var/tmp/diff_new_pack.6BXrD6/_new 2013-12-04 12:21:54.000000000 +0100 @@ -17,7 +17,7 @@ Name: autoyast2 -Version: 3.1.2 +Version: 3.1.3 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ autoyast2-3.1.2.tar.bz2 -> autoyast2-3.1.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.2/VERSION new/autoyast2-3.1.3/VERSION --- old/autoyast2-3.1.2/VERSION 2013-11-28 18:05:28.000000000 +0100 +++ new/autoyast2-3.1.3/VERSION 2013-12-03 16:05:03.000000000 +0100 @@ -1 +1 @@ -3.1.2 +3.1.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.2/package/autoyast2.changes new/autoyast2-3.1.3/package/autoyast2.changes --- old/autoyast2-3.1.2/package/autoyast2.changes 2013-11-28 18:05:28.000000000 +0100 +++ new/autoyast2-3.1.3/package/autoyast2.changes 2013-12-03 16:05:03.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Dec 3 14:45:40 UTC 2013 - [email protected] + +- Support legacy runlevel profile +- 3.1.3 + +------------------------------------------------------------------- Thu Nov 28 16:37:19 CET 2013 - [email protected] - fix bug where autoyast created primary partition when logical diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.2/package/autoyast2.spec new/autoyast2-3.1.3/package/autoyast2.spec --- old/autoyast2-3.1.2/package/autoyast2.spec 2013-11-28 18:05:28.000000000 +0100 +++ new/autoyast2-3.1.3/package/autoyast2.spec 2013-12-03 16:05:03.000000000 +0100 @@ -17,7 +17,7 @@ Name: autoyast2 -Version: 3.1.1 +Version: 3.1.3 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.2/src/clients/inst_autosetup.rb new/autoyast2-3.1.3/src/clients/inst_autosetup.rb --- old/autoyast2-3.1.2/src/clients/inst_autosetup.rb 2013-11-28 18:05:28.000000000 +0100 +++ new/autoyast2-3.1.3/src/clients/inst_autosetup.rb 2013-12-03 16:05:03.000000000 +0100 @@ -278,7 +278,7 @@ Progress.NextStage AutoinstSoftware.Import(Ops.get_map(Profile.current, "software", {})) - keys = Profile.current.keys.select do |k| + keys = Profile.current.keys.select do |k| Profile.current[k].is_a?(Array)||Profile.current[k].is_a?(Hash) end AutoinstSoftware.AddYdepsFromProfile(keys) @@ -327,8 +327,17 @@ LanUdevAuto.Import(Ops.get_map(Profile.current, "networking", {})) Progress.NextStage - @default_target = Profile.current['default_target'].to_s - Builtins.y2milestone("autoyast - configured default target: #{@default_target}") + + if Profile.current['runlevel'] && 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}'") + else + @default_target = Profile.current['default_target'].to_s + end + + Builtins.y2milestone("autoyast - configured default target: '#{@default_target}'") + if !@default_target.empty? SystemdTarget.default_target = @default_target else @@ -336,6 +345,7 @@ Arch.x11_setup_needed && Pkg.IsSelected("xorg-x11-server") ? Target::GRAPHICAL : Target::MULTIUSER end + Builtins.y2milestone( "autoyast - setting default target to: #{SystemdTarget.default_target}" ) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
