Hello community,
here is the log from the commit of package yast2-installation for openSUSE:Factory
checked in at Thu Jan 29 01:33:22 CET 2009.
--------
--- yast2-installation/yast2-installation.changes 2009-01-22 16:44:42.000000000 +0100
+++ yast2-installation/yast2-installation.changes 2009-01-28 16:00:31.000000000 +0100
@@ -1,0 +2,21 @@
+Wed Jan 28 14:33:09 CET 2009 - locilka@suse.cz
+
+- Added new InstError module for unified reporting of errors
+ during installation.
+- Better SlideShow support in inst_finish.
+- Reporting more errors in inst_finish.
+- 2.18.3
+
+-------------------------------------------------------------------
+Tue Jan 27 17:13:57 CET 2009 - locilka@suse.cz
+
+- Added test for checking free space when SCR switch fails
+ (bnc #460477).
+
+-------------------------------------------------------------------
+Mon Jan 26 13:58:00 CET 2009 - locilka@suse.cz
+
+- Disabling [Back] buttons in the very first interactive dialogs
+ in second stage, SLES and SLED control files (bnc #468677).
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-installation-2.18.2.tar.bz2
New:
----
yast2-installation-2.18.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-installation.spec ++++++
--- /var/tmp/diff_new_pack.Y27691/_old 2009-01-29 01:32:33.000000000 +0100
+++ /var/tmp/diff_new_pack.Y27691/_new 2009-01-29 01:32:33.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-installation (Version 2.18.2)
+# spec file for package yast2-installation (Version 2.18.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-installation
-Version: 2.18.2
+Version: 2.18.3
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-installation-2.18.2.tar.bz2
+Source0: yast2-installation-2.18.3.tar.bz2
Prefix: /usr
BuildRequires: docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer sgml-skel update-desktop-files yast2-core-devel yast2-devtools yast2-testsuite
# xmllint
@@ -39,8 +39,8 @@
BuildRequires: yast2-packager >= 2.17.9
# AutoinstConfig::getProposalList
Requires: autoyast2-installation >= 2.17.1
-# PackagesUI::RunPackageSelector
-Requires: yast2 >= 2.17.40
+# ag_freespace
+Requires: yast2 >= 2.18.4
# Language::GetLanguageItems and other API
# Language::Set (handles downloading the translation extensions)
Requires: yast2-country-data >= 2.16.11
@@ -124,7 +124,7 @@
Lukas Ocilka
%prep
-%setup -n yast2-installation-2.18.2
+%setup -n yast2-installation-2.18.3
%build
%{prefix}/bin/y2tool y2autoconf
@@ -195,6 +195,18 @@
%exclude %{prefix}/share/doc/packages/yast2-installation/COPYING
%exclude %{prefix}/share/doc/packages/yast2-installation/README
%changelog
+* Wed Jan 28 2009 locilka@suse.cz
+- Added new InstError module for unified reporting of errors
+ during installation.
+- Better SlideShow support in inst_finish.
+- Reporting more errors in inst_finish.
+- 2.18.3
+* Tue Jan 27 2009 locilka@suse.cz
+- Added test for checking free space when SCR switch fails
+ (bnc #460477).
+* Mon Jan 26 2009 locilka@suse.cz
+- Disabling [Back] buttons in the very first interactive dialogs
+ in second stage, SLES and SLED control files (bnc #468677).
* Thu Jan 22 2009 locilka@suse.cz
- Dropping mode_proposal client - not in use anymore.
- 2.18.2
++++++ yast2-installation-2.18.2.tar.bz2 -> yast2-installation-2.18.3.tar.bz2 ++++++
++++ 12758 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-installation-2.18.2/control/control.openSUSE.xml new/yast2-installation-2.18.3/control/control.openSUSE.xml
--- old/yast2-installation-2.18.2/control/control.openSUSE.xml 2009-01-22 12:42:26.000000000 +0100
+++ new/yast2-installation-2.18.3/control/control.openSUSE.xml 2009-01-23 12:23:14.000000000 +0100
@@ -366,7 +366,10 @@
<label>Configuring hardware...</label>
<label>Finishing configuration...</label>
- <!-- Desktop dialog label -->
+ <!--
+ Desktop dialog label. It hould not be wider than 75 characters
+ but it can take more lines then the original one.
+ -->
<label>openSUSE offers you a choice of user interfaces. The two major complete
desktops are KDE and GNOME. Both provide an easy-to-use desktop with a full
suite of applications including email, a file manager, games and utilities.
@@ -382,8 +385,16 @@
<label>Minimal Server Selection (Text Mode)</label>
<!-- Desktop dialog: desktop descriptions (with 'description_id' defined) -->
+ <!--
+ GNOME desktop description - It hould not be wider than 75 characters
+ but it can take more lines then the original one.
+ -->
<label>GNOME 2.24 is the latest desktop from the GNOME Project.
It combines stability and maturity with incremental innovations.</label>
+ <!--
+ KDE desktop description - It hould not be wider than 75 characters
+ but it can take more lines then the original one.
+ -->
<label>KDE 4.1 is the latest stable desktop released by the KDE Project.
It delivers an innovative, highly integrated desktop environment
with a modern look and feel.</label>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-installation-2.18.2/control/control.SLED.xml new/yast2-installation-2.18.3/control/control.SLED.xml
--- old/yast2-installation-2.18.2/control/control.SLED.xml 2009-01-22 12:42:26.000000000 +0100
+++ new/yast2-installation-2.18.3/control/control.SLED.xml 2009-01-26 13:56:33.000000000 +0100
@@ -828,7 +828,8 @@
<module>
<label>Network</label>
<name>ask_net_test</name>
- yes
+ <!-- The very first interactive dialog -->
+ no
yes
</module>
<module>
@@ -925,6 +926,8 @@
<module>
<label>Hostname</label>
<name>hostname</name>
+ <!-- The very first interactive dialog -->
+ no
</module>
<module>
<label>Network</label>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-installation-2.18.2/control/control.SLES.xml new/yast2-installation-2.18.3/control/control.SLES.xml
--- old/yast2-installation-2.18.2/control/control.SLES.xml 2009-01-22 12:42:26.000000000 +0100
+++ new/yast2-installation-2.18.3/control/control.SLES.xml 2009-01-26 13:56:33.000000000 +0100
@@ -978,7 +978,8 @@
<module>
<label>Network</label>
<name>ask_net_test</name>
- yes
+ <!-- The very first interactive dialog -->
+ no
yes
</module>
<module>
@@ -1093,6 +1094,8 @@
<module>
<label>Hostname</label>
<name>hostname</name>
+ <!-- The very first interactive dialog -->
+ no
</module>
<module>
<label>Network</label>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-installation-2.18.2/src/clients/inst_finish.ycp new/yast2-installation-2.18.3/src/clients/inst_finish.ycp
--- old/yast2-installation-2.18.2/src/clients/inst_finish.ycp 2009-01-22 12:42:30.000000000 +0100
+++ new/yast2-installation-2.18.3/src/clients/inst_finish.ycp 2009-01-28 17:09:49.000000000 +0100
@@ -6,7 +6,7 @@
* Arvin Schnell
* Jiri Srain
*
- * $Id: inst_finish.ycp 54865 2009-01-21 15:59:25Z locilka $
+ * $Id: inst_finish.ycp 55126 2009-01-28 16:09:53Z locilka $
*/
{
@@ -28,6 +28,8 @@
import "GetInstArgs";
import "ProductFeatures";
import "SlideShow";
+ import "InstError";
+ import "PackageCallbacks";
// added for fate# 303395
import "Directory";
@@ -35,6 +37,21 @@
if (GetInstArgs::going_back())
return `auto;
+ // --> Functions
+
+ void ReportClientError (string client_error_text) {
+ // get the latest errors
+ map cmd = (map) WFM::Execute (.local.bash_output, "tail -n 200 /var/log/YaST2/y2log | grep ' <\\(3\\|5\\)> '");
+
+ InstError::ShowErrorPopUp (
+ _("Installation Error"),
+ client_error_text,
+ (cmd["exit"]:-1 == 0 && cmd["stdout"]:"" != "" ? cmd["stdout"]:"" : nil)
+ );
+ }
+
+ // <-- Functions
+
boolean test_mode = false;
if (size (WFM::Args()) > 0 && is (WFM::Args(0), string)) {
@@ -45,21 +62,50 @@
if (test_mode) Wizard::CreateDialog();
-// Help text for last dialog of base installation
-string help_text = _("<p>
-Please wait while the base system is being installed.
-</p>");
-
- Wizard::SetContents (
- _("Finishing Basic Installation"),
- `Label (_("Preparing installation finish-scripts...")),
- help_text,
- false,
- false
- );
+ Wizard::DisableBackButton ();
+ Wizard::DisableNextButton ();
+
+ // Adjust a SlideShow dialog if not configured
+ map > get_setup = SlideShow::GetSetup();
+ if (get_setup == nil || get_setup == $[]) {
+ y2milestone ("No SlideShow setup has been set, adjusting");
+ SlideShow::Setup([$[
+ "name" : "finish",
+ "description" : _("Finishing Basic Installation"),
+ // fixed value
+ "value" : 100,
+ "units" : `sec,
+ ]]);
+ }
+ get_setup = nil;
+
+ Wizard::SetTitleIcon ("yast-sysconfig");
+
+ // Do not open a new SlideShow widget, reuse the old one instead
+ // variable used later to close that dialog (if needed)
+ boolean required_to_open_sl_dialog = (! SlideShow::HaveSlideWidget());
+
+ if (required_to_open_sl_dialog) {
+ y2milestone ("SlideShow dialog not yet created");
+ SlideShow::OpenDialog();
+ }
+
+ // Might be left from the previous stage
+ SlideShow::HideTable();
+
+ SlideShow::MoveToStage("finish");
+
+ string log = _("Creating list of finish scripts to call...");
+ SlideShow::SubProgress (0, "");
+ SlideShow::StageProgress (0, log);
+ SlideShow::AppendMessageToInstLog (log);
// Used later in 'stages' definition
- Pkg::TargetInit (Installation::destdir, true);
+ // Using empty callbacks that don't break the UI
+ PackageCallbacks::RegisterEmptyProgressCallbacks();
+ Pkg::TargetInitialize (Installation::destdir);
+ Pkg::TargetLoad();
+ PackageCallbacks::RestorePreviousProgressCallbacks();
list