Author: locilka
Date: Mon Jul 30 12:40:09 2007
New Revision: 39760
URL: http://svn.opensuse.org/viewcvs/yast?rev=39760&view=rev
Log:
- Added inst_upgrade_urls client which offers URLs used on the
system to be used during the upgrade as well.
- 2.15.37
Added:
trunk/installation/src/clients/inst_upgrade_urls.ycp
Modified:
trunk/installation/VERSION
trunk/installation/package/yast2-installation.changes
Modified: trunk/installation/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/VERSION?rev=39760&r1=39759&r2=39760&view=diff
==============================================================================
--- trunk/installation/VERSION (original)
+++ trunk/installation/VERSION Mon Jul 30 12:40:09 2007
@@ -1 +1 @@
-2.15.36
+2.15.37
Modified: trunk/installation/package/yast2-installation.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/package/yast2-installation.changes?rev=39760&r1=39759&r2=39760&view=diff
==============================================================================
--- trunk/installation/package/yast2-installation.changes (original)
+++ trunk/installation/package/yast2-installation.changes Mon Jul 30 12:40:09 2007
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Mon Jul 30 12:38:31 CEST 2007 - locilka@suse.cz
+
+- Added inst_upgrade_urls client which offers URLs used on the
+ system to be used during the upgrade as well.
+- 2.15.37
+
+-------------------------------------------------------------------
Sun Jul 29 22:39:31 CEST 2007 - locilka@suse.cz
- Fixed curl parameters for network test in first stage (#295484).
Added: trunk/installation/src/clients/inst_upgrade_urls.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/inst_upgrade_urls.ycp?rev=39760&view=auto
==============================================================================
--- trunk/installation/src/clients/inst_upgrade_urls.ycp (added)
+++ trunk/installation/src/clients/inst_upgrade_urls.ycp Mon Jul 30 12:40:09 2007
@@ -0,0 +1,510 @@
+{
+ // FATE #301785: Distribution upgrade should offer
+ // existing extra installation sources as Add-On
+
+ import "Installation";
+ import "FileUtils";
+ import "Stage";
+ import "GetInstArgs";
+ import "FileUtils";
+ import "Mode";
+ import "Wizard";
+ import "Progress";
+ import "Label";
+ import "NetworkService";
+ import "Popup";
+ import "AddOnProduct";
+
+ textdomain "installation";
+
+ symbol ret = `next;
+ if (GetInstArgs::going_back()) ret = `back;
+
+ // --> Comment this out in case of testing on a running system
+ if (! Stage::initial()) {
+ y2milestone ("Not an initial stage");
+ return ret;
+ }
+ if (! Mode::update()) {
+ y2milestone ("Not an udpate mode");
+ return ret;
+ }
+ // <--
+
+ string dir_old = sformat ("%1/var/lib/zypp/db/sources/", Installation::destdir);
+ list