Script 'mail_helper' called by ro
Hello packager,
This is just FYI. Your package was checked in in distribution "sle12"
by autobuild-member: ro.
Here comes the log...
---------------------------%<------------------------------
Hi,
here is the log from ci_new_pac /mounts/work_src_done/SLE12/yast2-installation -> sle12
Changes:
--------
--- /work/SRC/SUSE:SLE-12:GA/yast2-installation/yast2-installation.changes 2014-02-04 15:02:48.000000000 +0100
+++ /mounts/work_src_done/SLE12/yast2-installation/yast2-installation.changes 2014-02-07 10:41:28.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Feb 7 09:36:00 UTC 2014 - jreidinger@suse.com
+
+- Implement minimal installation feature (FATE#313149)
+- 3.1.30
+
+-------------------------------------------------------------------
calling whatdependson for sle12-i586
Packages directly triggered for rebuild:
- yast2-installation
- at least 14 other packages
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/SUSE:SLE-12:GA/yast2-installation (Old)
and /mounts/work_src_done/SLE12/yast2-installation (BS:build ID:31940 MAIL:yast-commit@opensuse.org) (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-installation", Maintainer is "yast-commit@opensuse.org"
Old:
----
yast2-installation-3.1.29.tar.bz2
New:
----
yast2-installation-3.1.30.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-installation.spec ++++++
--- /var/tmp/diff_new_pack.5oaT6M/_old 2014-02-07 16:22:57.000000000 +0100
+++ /var/tmp/diff_new_pack.5oaT6M/_new 2014-02-07 16:22:57.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-installation
-Version: 3.1.29
+Version: 3.1.30
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-installation-3.1.29.tar.bz2 -> yast2-installation-3.1.30.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.29/package/yast2-installation.changes new/yast2-installation-3.1.30/package/yast2-installation.changes
--- old/yast2-installation-3.1.29/package/yast2-installation.changes 2014-02-03 16:35:39.000000000 +0100
+++ new/yast2-installation-3.1.30/package/yast2-installation.changes 2014-02-07 10:40:35.000000000 +0100
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Fri Feb 7 09:36:00 UTC 2014 - jreidinger@suse.com
+
+- Implement minimal installation feature (FATE#313149)
+- 3.1.30
+
+-------------------------------------------------------------------
Mon Feb 3 14:36:34 UTC 2014 - jreidinger@suse.com
- fix false positive errors in log for easier debugging in future
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.29/package/yast2-installation.spec new/yast2-installation-3.1.30/package/yast2-installation.spec
--- old/yast2-installation-3.1.29/package/yast2-installation.spec 2014-02-03 16:35:39.000000000 +0100
+++ new/yast2-installation-3.1.30/package/yast2-installation.spec 2014-02-07 10:40:35.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-installation
-Version: 3.1.29
+Version: 3.1.30
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.29/src/Makefile.am new/yast2-installation-3.1.30/src/Makefile.am
--- old/yast2-installation-3.1.29/src/Makefile.am 2014-02-03 16:35:39.000000000 +0100
+++ new/yast2-installation-3.1.30/src/Makefile.am 2014-02-07 10:40:35.000000000 +0100
@@ -103,7 +103,8 @@
ylibdir = "${yast2dir}/lib/installation"
ylib_DATA = \
- lib/installation/clone_settings.rb
+ lib/installation/clone_settings.rb \
+ lib/installation/minimal_installation.rb
EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) $(schemafiles_DATA) $(desktop_DATA) $(fillup_DATA) $(ylib_DATA)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.29/src/clients/desktop_finish.rb new/yast2-installation-3.1.30/src/clients/desktop_finish.rb
--- old/yast2-installation-3.1.29/src/clients/desktop_finish.rb 2014-02-03 16:35:39.000000000 +0100
+++ new/yast2-installation-3.1.30/src/clients/desktop_finish.rb 2014-02-07 10:40:35.000000000 +0100
@@ -30,6 +30,9 @@
#
# $Id$
#
+
+require "installation/minimal_installation"
+
module Yast
class DesktopFinishClient < Client
def main
@@ -63,13 +66,14 @@
Builtins.y2debug("param=%1", @param)
if @func == "Info"
+ minimal_inst = Installation::MinimalInstallation.instance.enabled?
return {
"steps" => 1,
# progress step title
"title" => _(
"Initializing default window manager..."
),
- "when" => [:installation, :autoinst]
+ "when" => minimal_inst ? [] : [:installation, :autoinst]
}
elsif @func == "Write"
# this detects WM and DM according to selected patterns and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.29/src/clients/random_finish.rb new/yast2-installation-3.1.30/src/clients/random_finish.rb
--- old/yast2-installation-3.1.29/src/clients/random_finish.rb 2014-02-03 16:35:39.000000000 +0100
+++ new/yast2-installation-3.1.30/src/clients/random_finish.rb 2014-02-07 10:40:35.000000000 +0100
@@ -26,6 +26,9 @@
# Authors: Lukas Ocilka
#
# $Id$
+
+require "installation/minimal_installation"
+
module Yast
class RandomFinishClient < Client
def main
@@ -52,13 +55,15 @@
Builtins.y2debug("param=%1", @param)
if @func == "Info"
+ minimal_inst = Installation::MinimalInstallation.instance.enabled?
return {
"steps" => 1,
# progress step title
"title" => _(
"Enabling random number generator..."
),
- "when" => [:installation, :live_installation, :update, :autoinst]
+ "when" => minimal_inst ? [] :
+ [:installation, :live_installation, :update, :autoinst]
}
elsif @func == "Write"
@init_path = "/etc/init.d/"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.29/src/clients/save_config_finish.rb new/yast2-installation-3.1.30/src/clients/save_config_finish.rb
--- old/yast2-installation-3.1.29/src/clients/save_config_finish.rb 2014-02-03 16:35:39.000000000 +0100
+++ new/yast2-installation-3.1.30/src/clients/save_config_finish.rb 2014-02-07 10:40:35.000000000 +0100
@@ -30,6 +30,9 @@
#
# $Id$
#
+
+require "installation/minimal_installation"
+
module Yast
class SaveConfigFinishClient < Client
def main
@@ -72,9 +75,20 @@
Builtins.y2debug("func=%1", @func)
Builtins.y2debug("param=%1", @param)
+ minimal_inst = Installation::MinimalInstallation.instance.enabled?
+
if @func == "Info"
+ if Mode.autoinst
+ steps = minimal_inst ? 3 : 7
+ elsif Mode.update
+ steps = minimal_inst ? 2 : 5
+ elsif Mode.installation
+ steps = minimal_inst ? 2 : 6
+ else
+ raise "Unknown mode"
+ end
return {
- "steps" => Mode.autoinst ? 7 : Mode.update ? 5 : 6,
+ "steps" => steps,
"when" => [:installation, :update, :autoinst]
}
elsif @func == "Write"
@@ -115,7 +129,7 @@
end
end
- if !Mode.update
+ if !Mode.update && !minimal_inst
# progress step title
Progress.Title(_("Saving time zone..."))
# clock must be set correctly in new chroot
@@ -124,7 +138,7 @@
end
Progress.NextStep
- if !Mode.update
+ if !Mode.update && !minimal_inst
# progress step title
Progress.Title(_("Saving language..."))
Language.Save
@@ -134,7 +148,7 @@
Progress.Title(_("Saving console configuration..."))
Console.Save
Progress.NextStep
- else
+ elsif Mode.update
@lang = Language.language
@file = Ops.add(Directory.vardir, "/language.ycp")
Builtins.y2milestone(
@@ -148,10 +162,12 @@
{ "second_stage_language" => @lang }
)
end
- # progress step title
- Progress.Title(_("Saving keyboard configuration..."))
- Keyboard.Save
- Progress.NextStep
+ if !minimal_inst
+ # progress step title
+ Progress.Title(_("Saving keyboard configuration..."))
+ Keyboard.Save
+ Progress.NextStep
+ end
# progress step title
Progress.Title(_("Saving product information..."))
ProductFeatures.Save
@@ -163,25 +179,27 @@
end
Progress.NextStep
# progress step title
- Progress.Title(_("Saving security settings..."))
- SCR.Write(
- path(".sysconfig.security.CHECK_SIGNATURES"),
- SignatureCheckDialogs.CheckSignatures
- )
- SCR.Write(path(".sysconfig.security"), nil)
+ if !minimal_inst
+ Progress.Title(_("Saving security settings..."))
+ SCR.Write(
+ path(".sysconfig.security.CHECK_SIGNATURES"),
+ SignatureCheckDialogs.CheckSignatures
+ )
+ SCR.Write(path(".sysconfig.security"), nil)
- Progress.NextStep
- # progress step title
- Progress.Title(_("Saving boot scripts settings..."))
- @run_in_parallel = ProductFeatures.GetBooleanFeature(
- "globals",
- "run_init_scripts_in_parallel"
- )
- SCR.Write(
- path(".sysconfig.boot.RUN_PARALLEL"),
- @run_in_parallel ? "yes" : "no"
- )
- SCR.Write(path(".sysconfig.boot"), nil)
+ Progress.NextStep
+ # progress step title
+ Progress.Title(_("Saving boot scripts settings..."))
+ @run_in_parallel = ProductFeatures.GetBooleanFeature(
+ "globals",
+ "run_init_scripts_in_parallel"
+ )
+ SCR.Write(
+ path(".sysconfig.boot.RUN_PARALLEL"),
+ @run_in_parallel ? "yes" : "no"
+ )
+ SCR.Write(path(".sysconfig.boot"), nil)
+ end
# save supportconfig
if Ops.greater_than(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.29/src/clients/save_hw_status_finish.rb new/yast2-installation-3.1.30/src/clients/save_hw_status_finish.rb
--- old/yast2-installation-3.1.29/src/clients/save_hw_status_finish.rb 2014-02-03 16:35:39.000000000 +0100
+++ new/yast2-installation-3.1.30/src/clients/save_hw_status_finish.rb 2014-02-07 10:40:35.000000000 +0100
@@ -30,6 +30,9 @@
#
# $Id$
#
+
+require "installation/minimal_installation"
+
module Yast
class SaveHwStatusFinishClient < Client
def main
@@ -60,11 +63,12 @@
Builtins.y2debug("param=%1", @param)
if @func == "Info"
+ minimal_inst = Installation::MinimalInstallation.instance.enabled?
return {
"steps" => 1,
# progress step title
"title" => _("Saving hardware configuration..."),
- "when" => [:installation, :update, :autoinst]
+ "when" => minimal_inst ? [] : [:installation, :update, :autoinst]
}
elsif @func == "Write"
# Package yast2-printer needs to be installed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.29/src/lib/installation/minimal_installation.rb new/yast2-installation-3.1.30/src/lib/installation/minimal_installation.rb
--- old/yast2-installation-3.1.29/src/lib/installation/minimal_installation.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-installation-3.1.30/src/lib/installation/minimal_installation.rb 2014-02-07 10:40:35.000000000 +0100
@@ -0,0 +1,35 @@
+require "singleton"
+require "yast"
+
+
+module Installation
+ # Wrapper around minimal installation configuration.
+ #
+ # Now supported only in autoyast
+ class MinimalInstallation
+ include Singleton
+ include Yast::Logger
+
+ def enabled
+ return @enabled unless @enabled.nil?
+
+ Yast.import "Mode"
+ if Yast::Mode.autoinst
+ Yast.import "Profile"
+ profile = Yast::Profile.current
+ if profile["general"]["minimal-configuration"]
+ @enabled = true
+ else
+ @enabled = false
+ end
+ else
+ @enabled = false
+ end
+
+ log.info "Minimal installation enabled?: #{@enabled}"
+
+ @enabled
+ end
+ alias_method :enabled?, :enabled
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.29/startup/YaST2.call new/yast2-installation-3.1.30/startup/YaST2.call
--- old/yast2-installation-3.1.29/startup/YaST2.call 2014-02-03 16:35:39.000000000 +0100
+++ new/yast2-installation-3.1.30/startup/YaST2.call 2014-02-07 10:40:35.000000000 +0100
@@ -440,7 +440,7 @@
# 3) Medium prequalification
#---------------------------------------------
# Check which installation mediums can be used. There are
-# four mediums available: Qt(0) SSH(1), VNC(2), NCURSES(3) and Gtk(4).
+# five mediums available: Qt(0) SSH(1), VNC(2), NCURSES(3) and Gtk(4).
# The following checks will create an array which contains
# the possible mediums. An index of 1 indicates "can be used"
# an index of 0 indicated "cannot be used"
continue with "q"...
Checked in at Fri Feb 7 16:23:13 CET 2014 by ro
Remember to have fun...
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org