Author: locilka
Date: Mon Sep 24 18:22:51 2007
New Revision: 41062
URL: http://svn.opensuse.org/viewcvs/yast?rev=41062&view=rev
Log:
- Changed default delete_old_packages back to 'true' after finding
and fixing all remaining issues with 'false' (changed by coolo)
- Added new option 'online_repos_preselected' into the control file
to make default status of Online Repositories easily configurable
(#327791).
- Initializing the default behavior of Online Repositories in
inst_features according to the control file (#327791).
- 2.15.54
Modified:
trunk/installation/VERSION
trunk/installation/control/control.openSUSE.xml
trunk/installation/control/docs/control-section.xml
trunk/installation/package/yast2-installation.changes
trunk/installation/src/clients/inst_features.ycp
Modified: trunk/installation/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/VERSION?rev=41062&r1=41061&r2=41062&view=diff
==============================================================================
--- trunk/installation/VERSION (original)
+++ trunk/installation/VERSION Mon Sep 24 18:22:51 2007
@@ -1 +1 @@
-2.15.53
+2.15.54
Modified: trunk/installation/control/control.openSUSE.xml
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/control/control.openSUSE.xml?rev=41062&r1=41061&r2=41062&view=diff
==============================================================================
--- trunk/installation/control/control.openSUSE.xml (original)
+++ trunk/installation/control/control.openSUSE.xml Mon Sep 24 18:22:51 2007
@@ -36,9 +36,12 @@
</globals>
<software>
- false
+ true
auto
+ <!-- Bugzilla #327791, if not set, default is true -->
+ true
+
<!-- FATE #300898, List of external sources accesible during the installation time -->
http://download.opensuse.org/YaST/Repos/openSUSE_103_Servers.xml
</software>
Modified: trunk/installation/control/docs/control-section.xml
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/control/docs/control-section.xml?rev=41062&r1=41061&r2=41062&view=diff
==============================================================================
--- trunk/installation/control/docs/control-section.xml (original)
+++ trunk/installation/control/docs/control-section.xml Mon Sep 24 18:22:51 2007
@@ -576,7 +576,6 @@
</software>
</programlisting>
</listitem>
-
</itemizedlist>
<para>All products (regular expressions) are matching the string which
@@ -615,6 +614,14 @@
<para>These regular expressions are evaluated as <emphasis>YCP</emphasis>.</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>online_repos_preselected</emphasis></para>
+ <para>Online Repositories are pre-selected by default to be used.
+ This item can change the default behavior.</para>
+ </listitem>
+ </itemizedlist>
+
</section>
<section id="control_partitioning">
<title>Partitioning</title>
Modified: trunk/installation/package/yast2-installation.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/package/yast2-installation.changes?rev=41062&r1=41061&r2=41062&view=diff
==============================================================================
--- trunk/installation/package/yast2-installation.changes (original)
+++ trunk/installation/package/yast2-installation.changes Mon Sep 24 18:22:51 2007
@@ -1,4 +1,16 @@
-------------------------------------------------------------------
+Mon Sep 24 16:43:11 CEST 2007 - locilka@suse.cz
+
+- Changed default delete_old_packages back to 'true' after finding
+ and fixing all remaining issues with 'false' (changed by coolo)
+- Added new option 'online_repos_preselected' into the control file
+ to make default status of Online Repositories easily configurable
+ (#327791).
+- Initializing the default behavior of Online Repositories in
+ inst_features according to the control file (#327791).
+- 2.15.54
+
+-------------------------------------------------------------------
Fri Sep 21 16:35:18 CEST 2007 - locilka@suse.cz
- Start dhcpcd using WFM instead of SCR (#326342).
Modified: trunk/installation/src/clients/inst_features.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/inst_features.ycp?rev=41062&r1=41061&r2=41062&view=diff
==============================================================================
--- trunk/installation/src/clients/inst_features.ycp (original)
+++ trunk/installation/src/clients/inst_features.ycp Mon Sep 24 18:22:51 2007
@@ -51,5 +51,23 @@
Language::WfmSetLanguage();
}
+ // Bugzilla #327791
+ // Online Repositories - default status
+
+ // Feature is not defined
+ if (ProductFeatures::GetFeature ("software", "online_repos_preselected") == "") {
+ Installation::productsources_selected = false;
+ // Defined
+ } else {
+ boolean default_status_or = ProductFeatures::GetBooleanFeature ("software", "online_repos_preselected");
+
+ // if not set, default is "true"
+ if (default_status_or == nil) default_status_or = true;
+ Installation::productsources_selected = default_status_or;
+ }
+
+ y2milestone ("Use Online Repositories (default): %1", Installation::productsources_selected);
+
+
return `auto;
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org