Hello community,
here is the log from the commit of package yast2-installation for openSUSE:Factory checked in at 2014-08-30 16:03:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old)
and /work/SRC/openSUSE:Factory/.yast2-installation.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-installation"
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes 2014-08-20 17:53:53.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-installation.new/yast2-installation.changes 2014-08-30 16:04:29.000000000 +0200
@@ -1,0 +2,32 @@
+Thu Aug 28 15:04:59 CEST 2014 - locilka@suse.com
+
+- Setting data for &product; macro (used in helps) as soon as
+ the base-product repository is initialized (bnc#886608)
+- 3.1.113
+
+-------------------------------------------------------------------
+Wed Aug 27 15:39:52 CEST 2014 - locilka@suse.com
+
+- Fixed [Abort] button handling in Disks Activation dialog
+ (bnc#893281)
+- 3.1.112
+
+-------------------------------------------------------------------
+Wed Aug 27 10:33:03 CEST 2014 - schubi@suse.de
+
+- Autoyast: Second stage will not be called at all. This bug has
+ been generated due the fix in bnc#886464.
+- 3.1.111
+
+-------------------------------------------------------------------
+Mon Aug 25 09:15:13 CEST 2014 - schubi@suse.de
+
+- Autoyast
+ -- Disabling second installation stage via autoyast
+ configuration "second_stage".
+ -- Centralized minimal configuration and disabling more
+ configuration steps like X11, user, default_desktop,...
+ -- bnc#886464 and bnc#892091
+- 3.1.110
+
+-------------------------------------------------------------------
Old:
----
yast2-installation-3.1.109.tar.bz2
New:
----
yast2-installation-3.1.113.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-installation.spec ++++++
--- /var/tmp/diff_new_pack.7qLObB/_old 2014-08-30 16:04:31.000000000 +0200
+++ /var/tmp/diff_new_pack.7qLObB/_new 2014-08-30 16:04:31.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-installation
-Version: 3.1.109
+Version: 3.1.113
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-installation-3.1.109.tar.bz2 -> yast2-installation-3.1.113.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.109/package/yast2-installation.changes new/yast2-installation-3.1.113/package/yast2-installation.changes
--- old/yast2-installation-3.1.109/package/yast2-installation.changes 2014-08-18 15:55:14.000000000 +0200
+++ new/yast2-installation-3.1.113/package/yast2-installation.changes 2014-08-28 15:35:08.000000000 +0200
@@ -1,4 +1,36 @@
-------------------------------------------------------------------
+Thu Aug 28 15:04:59 CEST 2014 - locilka@suse.com
+
+- Setting data for &product; macro (used in helps) as soon as
+ the base-product repository is initialized (bnc#886608)
+- 3.1.113
+
+-------------------------------------------------------------------
+Wed Aug 27 15:39:52 CEST 2014 - locilka@suse.com
+
+- Fixed [Abort] button handling in Disks Activation dialog
+ (bnc#893281)
+- 3.1.112
+
+-------------------------------------------------------------------
+Wed Aug 27 10:33:03 CEST 2014 - schubi@suse.de
+
+- Autoyast: Second stage will not be called at all. This bug has
+ been generated due the fix in bnc#886464.
+- 3.1.111
+
+-------------------------------------------------------------------
+Mon Aug 25 09:15:13 CEST 2014 - schubi@suse.de
+
+- Autoyast
+ -- Disabling second installation stage via autoyast
+ configuration "second_stage".
+ -- Centralized minimal configuration and disabling more
+ configuration steps like X11, user, default_desktop,...
+ -- bnc#886464 and bnc#892091
+- 3.1.110
+
+-------------------------------------------------------------------
Mon Aug 18 12:30:53 UTC 2014 - jreidinger@suse.com
- workaround problem with missing capabilities in image deployment
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.109/package/yast2-installation.spec new/yast2-installation-3.1.113/package/yast2-installation.spec
--- old/yast2-installation-3.1.109/package/yast2-installation.spec 2014-08-18 15:55:14.000000000 +0200
+++ new/yast2-installation-3.1.113/package/yast2-installation.spec 2014-08-28 15:35:08.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-installation
-Version: 3.1.109
+Version: 3.1.113
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.109/src/clients/desktop_finish.rb new/yast2-installation-3.1.113/src/clients/desktop_finish.rb
--- old/yast2-installation-3.1.109/src/clients/desktop_finish.rb 2014-08-18 15:55:14.000000000 +0200
+++ new/yast2-installation-3.1.113/src/clients/desktop_finish.rb 2014-08-28 15:35:08.000000000 +0200
@@ -31,8 +31,6 @@
# $Id$
#
-require "installation/minimal_installation"
-
module Yast
class DesktopFinishClient < Client
def main
@@ -66,14 +64,13 @@
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" => minimal_inst ? [] : [:installation, :autoinst]
+ "when" => [: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.109/src/clients/inst_disks_activate.rb new/yast2-installation-3.1.113/src/clients/inst_disks_activate.rb
--- old/yast2-installation-3.1.109/src/clients/inst_disks_activate.rb 2014-08-18 15:55:14.000000000 +0200
+++ new/yast2-installation-3.1.113/src/clients/inst_disks_activate.rb 2014-08-28 15:35:08.000000000 +0200
@@ -138,7 +138,7 @@
WFM.call("inst_lan", [@argmap.merge({"skip_detection" => true})])
@ret = :redraw
when :abort
- @ret = nil if Popup.ConfirmAbort(:painless)
+ @ret = nil unless Popup.ConfirmAbort(:painless)
end
if @ret == :redraw
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.109/src/clients/inst_finish.rb new/yast2-installation-3.1.113/src/clients/inst_finish.rb
--- old/yast2-installation-3.1.109/src/clients/inst_finish.rb 2014-08-18 15:55:14.000000000 +0200
+++ new/yast2-installation-3.1.113/src/clients/inst_finish.rb 2014-08-28 15:35:08.000000000 +0200
@@ -27,6 +27,9 @@
# Jiri Srain
#
# $Id$
+
+require "installation/minimal_installation"
+
module Yast
class InstFinishClient < Client
def main
@@ -120,63 +123,108 @@
Pkg.TargetLoad
PackageCallbacks.RestorePreviousProgressCallbacks
+ if ::Installation::MinimalInstallation.instance.enabled?
+ copy_files_steps = [
+ "autoinst_scripts1",
+ "copy_files",
+ "copy_systemfiles",
+ # For live installer only
+ Mode.live_installation ? "live_copy_files" : "",
+ "switch_scr"
+ ]
+
+ save_config_steps = [
+ "save_config",
+ # For live installer only
+ Mode.live_installation ? "live_save_config" : "",
+ "storage",
+ "kernel",
+ ]
+
+ save_settings_steps = [
+ "yast_inf",
+ "autoinst_scripts2",
+ "installation_settings"
+ ]
+
+ install_bootloader_steps = [
+ "prep_shrink", # ensure that prep partition is small enough for boot sector (bnc#867345)
+ "bootloader"
+ ]
+ else
+ # NOT minimal configuration
+
+ copy_files_steps = [
+ "autoinst_scripts1",
+ "copy_files",
+ "copy_systemfiles",
+ "clone",
+ # For live installer only
+ Mode.live_installation ? "live_copy_files" : "",
+ "switch_scr"
+ ]
+
+ save_config_steps = [
+ "ldconfig",
+ "save_config",
+ # For live installer only
+ Mode.live_installation ? "live_save_config" : "",
+ "default_target",
+ "desktop",
+ "storage",
+ "iscsi-client",
+ "fcoe-client",
+ "kernel",
+ "x11",
+ "proxy",
+ "pkg",
+ # product registration step is optional
+ WFM.ClientExists("scc_finish") ? "scc" : "",
+ "driver_update1",
+ # bnc #340733
+ "system_settings"
+ ]
+
+ save_settings_steps = [
+ "yast_inf",
+ "network",
+ "firewall_stage1",
+ "ntp-client",
+ "ssh_settings",
+ "save_hw_status",
+ "users",
+ "autoinst_scripts2",
+ "installation_settings"
+ ]
+
+ install_bootloader_steps = [
+ "prep_shrink", # ensure that prep partition is small enough for boot sector (bnc#867345)
+ "bootloader",
+ ProductFeatures.GetBooleanFeature("globals", "enable_kdump") == true ? "kdump" : "",
+ "cio_ignore"
+ ]
+ end
+
@stages = [
{
"id" => "copy_files",
# progress stage
"label" => _("Copy files to installed system"),
- "steps" => [
- "autoinst_scripts1",
- "copy_files",
- "copy_systemfiles",
- "clone",
- # For live installer only
- Mode.live_installation ? "live_copy_files" : "",
- "switch_scr"
- ],
+ "steps" => copy_files_steps,
"icon" => "pattern-basis"
},
{
"id" => "save_config",
# progress stage
"label" => _("Save configuration"),
- "steps" => [
- "ldconfig",
- "save_config",
- # For live installer only
- Mode.live_installation ? "live_save_config" : "",
- "default_target",
- "desktop",
- "storage",
- "iscsi-client",
- "fcoe-client",
- "kernel",
- "x11",
- "proxy",
- "pkg",
- # product registration step is optional
- WFM.ClientExists("scc_finish") ? "scc" : "",
- "driver_update1",
- # bnc #340733
- "system_settings"
- ],
+ "steps" => save_config_steps,
"icon" => "yast-desktop-select"
},
{
"id" => "save_settings",
# progress stage
"label" => _("Save installation settings"),
- "steps" => [
- "yast_inf",
- "network",
- "firewall_stage1",
- "ntp-client",
- "ssh_settings",
- "save_hw_status",
- "users",
- "autoinst_scripts2",
- "installation_settings"
- ],
+ "steps" => save_settings_steps,
"icon" => "yast-network"
},
# bnc#860089: Save bootloader as late as possible
@@ -185,12 +233,7 @@
"id" => "install_bootloader",
# progress stage
"label" => _("Install boot manager"),
- "steps" => [
- "prep_shrink", # ensure that prep partition is small enough for boot sector (bnc#867345)
- "bootloader",
- ProductFeatures.GetBooleanFeature("globals", "enable_kdump") == true ? "kdump" : "",
- "cio_ignore"
- ],
+ "steps" => install_bootloader_steps,
"icon" => "yast-bootloader"
},
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.109/src/clients/inst_system_analysis.rb new/yast2-installation-3.1.113/src/clients/inst_system_analysis.rb
--- old/yast2-installation-3.1.109/src/clients/inst_system_analysis.rb 2014-08-18 15:55:14.000000000 +0200
+++ new/yast2-installation-3.1.113/src/clients/inst_system_analysis.rb 2014-08-28 15:35:08.000000000 +0200
@@ -24,9 +24,9 @@
# Summary: Installation mode selection, system analysis
# Authors: Jiri Srain
# Lukas Ocilka
-#
-# $Id$
-#
+
+require "yast"
+
module Yast
class InstSystemAnalysisClient < Client
def main
@@ -290,6 +290,20 @@
true
end
+ def download_and_show_release_notes
+ # try on-line release notes first
+ WFM.CallFunction("inst_download_release_notes")
+
+ if InstData.release_notes.empty? && load_release_notes(Packages.GetBaseSourceID)
+ # push button
+ Wizard.ShowReleaseNotesButton(_("Re&lease Notes..."), "rel_notes")
+
+ product_name = Product.name || _("Unknown Product")
+ InstData.release_notes[product_name] = @media_text
+ UI::SetReleaseNotes( { product_name => @media_text } )
+ end
+ end
+
def InitInstallationRepositories
# disable callbacks
PackageCallbacks.RegisterEmptyProgressCallbacks
@@ -301,29 +315,18 @@
if Packages.InitFailed
# popup message
Popup.Message(
- _(
- "Failed to initialize the software repositories.\nAborting the installation."
- )
+ _("Failed to initialize the software repositories.\nAborting the installation.")
)
ret = false
else
@packager_initialized = true
Packages.InitializeAddOnProducts
- #try on-line release notes first
- WFM.CallFunction("inst_download_release_notes")
- if InstData.release_notes.empty?
- if load_release_notes(Packages.GetBaseSourceID)
- # push button
- Wizard.ShowReleaseNotesButton(_("Re&lease Notes..."), "rel_notes")
-
- base_product = Product.FindBaseProducts.first || {}
- product_name = base_product["name"] || _("Unknown Product")
- InstData.release_notes[product_name] = @media_text
- UI::SetReleaseNotes( { product_name => @media_text } )
- end
- end
+ # bnc#886608: Adjusting product name (for &product; macro) right after we
+ # initialize libzypp and get the base product name (intentionally not translated)
+ UI.SetProductName(Product.name || "SUSE Linux")
+ download_and_show_release_notes
end
# reregister callbacks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.109/src/clients/save_hw_status_finish.rb new/yast2-installation-3.1.113/src/clients/save_hw_status_finish.rb
--- old/yast2-installation-3.1.109/src/clients/save_hw_status_finish.rb 2014-08-18 15:55:14.000000000 +0200
+++ new/yast2-installation-3.1.113/src/clients/save_hw_status_finish.rb 2014-08-28 15:35:08.000000000 +0200
@@ -31,8 +31,6 @@
# $Id$
#
-require "installation/minimal_installation"
-
module Yast
class SaveHwStatusFinishClient < Client
def main
@@ -63,12 +61,11 @@
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" => minimal_inst ? [] : [:installation, :update, :autoinst]
+ "when" => [: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.109/src/include/installation/inst_inc_first.rb new/yast2-installation-3.1.113/src/include/installation/inst_inc_first.rb
--- old/yast2-installation-3.1.109/src/include/installation/inst_inc_first.rb 2014-08-18 15:55:14.000000000 +0200
+++ new/yast2-installation-3.1.113/src/include/installation/inst_inc_first.rb 2014-08-28 15:35:08.000000000 +0200
@@ -44,6 +44,7 @@
Yast.import "String"
Yast.import "Mode"
Yast.import "ProductFeatures"
+ Yast.import "AutoinstConfig"
Yast.include include_target, "installation/misc.rb"
end
@@ -173,26 +174,33 @@
def HandleSecondStageRequired
if Stage.initial
# the current one is 'initial'
- # after reboot/kexec it would be 'continue'
- stage_to_check = "continue"
-
- # for matching the control file
- mode_to_check = Mode.mode
-
- # file name
- run_yast_at_boot = Builtins.sformat(
- "%1/%2",
- Installation.destdir,
- Installation.run_yast_at_boot
- )
-
- Builtins.y2milestone(
- "Checking RunRequired (%1, %2)",
- stage_to_check,
- mode_to_check
- )
+ run_second_stage = true
+ if (Mode.autoinst || Mode.autoupgrade) && !AutoinstConfig.second_stage
+ run_second_stage = false
+ Builtins.y2milestone("Autoyast: second stage is disabled")
+ else
+ # after reboot/kexec it would be 'continue'
+ stage_to_check = "continue"
+
+ # for matching the control file
+ mode_to_check = Mode.mode
+
+ # file name
+ run_yast_at_boot = Builtins.sformat(
+ "%1/%2",
+ Installation.destdir,
+ Installation.run_yast_at_boot
+ )
+
+ Builtins.y2milestone(
+ "Checking RunRequired (%1, %2)",
+ stage_to_check,
+ mode_to_check
+ )
+ run_second_stage = ProductControl.RunRequired(stage_to_check, mode_to_check)
+ end
- if ProductControl.RunRequired(stage_to_check, mode_to_check)
+ if run_second_stage
Builtins.y2milestone("Running the second stage is required")
WFM.Write(path(".local.string"), run_yast_at_boot, "")
WriteSecondStageRequired(true)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org