Author: locilka
Date: Thu Oct 2 13:47:02 2008
New Revision: 51790
URL: http://svn.opensuse.org/viewcvs/yast?rev=51790&view=rev
Log:
- Using two default desktops, one for inst_scenarios, another
one (default) while inst_scenarios not used (bnc #431251,
bnc #431503).
- Switching scenario_virtual_machine and
scenario_virtualization_host in SLES control file (bnc #431251).
- 2.17.17
Modified:
trunk/installation/VERSION
trunk/installation/control/control.SLES.xml
trunk/installation/package/yast2-installation.changes
trunk/installation/src/clients/inst_scenarios.ycp
trunk/installation/yast2-installation.spec.in
Modified: trunk/installation/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/VERSION?rev=51790&r1=51789&r2=51790&view=diff
==============================================================================
--- trunk/installation/VERSION (original)
+++ trunk/installation/VERSION Thu Oct 2 13:47:02 2008
@@ -1 +1 @@
-2.17.16
+2.17.17
Modified: trunk/installation/control/control.SLES.xml
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/control/control.SLES.xml?rev=51790&r1=51789&r2=51790&view=diff
==============================================================================
--- trunk/installation/control/control.SLES.xml (original)
+++ trunk/installation/control/control.SLES.xml Thu Oct 2 13:47:02 2008
@@ -146,21 +146,38 @@
<!-- BNC #424678 Definition of supported desktops -->
<!-- BNC #427061 The default desktop has to be set here -->
+ <!-- Minimal 'desktop' used when inst_scenarios are called -->
- <name>default_desktop</name>
+ <name>desktop_for_scenarios</name>
<desktop>gnome</desktop>
- default_desktop
+ desktop_for_scenarios
<logon>gdm</logon>
<cursor>DMZ</cursor>
- <packages>gdm</packages>
<order config:type="integer">1</order>
- <!-- No patterns to install or delete -->
+ <!-- No patterns, not packages to install or delete -->
<patterns></patterns>
+ <packages></packages>
+ true
+
+
+ <!-- Used for non-i386/non-x86_64 machines -->
+
+ <name>desktop_gnome</name>
+ <desktop>gnome</desktop>
+ desktop_gnome
+ <logon>gdm</logon>
+ <cursor>DMZ</cursor>
+ <packages>gdm</packages>
+ <order config:type="integer">1</order>
+ <patterns>base x11 gnome apparmor print_server 32bit 64bit x86 documentation</patterns>
<icon>pattern-gnome</icon>
- default_desktop
+ <!-- inst_scenarios have to set a different desktop -->
+ desktop_for_scenarios
+
+ desktop_gnome
</software>
<partitioning>
@@ -224,7 +241,9 @@
</congratulate>
<!-- Empty string is intentional, bnc #431251, there needn't be any desktop -->
- <label></label>
+ <label></label>
+ <!-- Default desktop for non-i386/non-x86_64 machines -->
+ <label>GNOME</label>
<!-- FATE #304373: Server scenarios -->
<label>Server Base Scenario</label>
Modified: trunk/installation/package/yast2-installation.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/package/yast2-installation.changes?rev=51790&r1=51789&r2=51790&view=diff
==============================================================================
--- trunk/installation/package/yast2-installation.changes (original)
+++ trunk/installation/package/yast2-installation.changes Thu Oct 2 13:47:02 2008
@@ -1,10 +1,12 @@
-------------------------------------------------------------------
Thu Oct 2 11:39:48 CEST 2008 - locilka@suse.cz
-- No patterns listed in SLES default desktop, package proposal
- will not add them (bnc #431503).
+- Using two default desktops, one for inst_scenarios, another
+ one (default) while inst_scenarios not used (bnc #431251,
+ bnc #431503).
- Switching scenario_virtual_machine and
scenario_virtualization_host in SLES control file (bnc #431251).
+- 2.17.17
-------------------------------------------------------------------
Wed Oct 1 16:03:32 CEST 2008 - mzugec@suse.de
Modified: trunk/installation/src/clients/inst_scenarios.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/inst_scenarios.ycp?rev=51790&r1=51789&r2=51790&view=diff
==============================================================================
--- trunk/installation/src/clients/inst_scenarios.ycp (original)
+++ trunk/installation/src/clients/inst_scenarios.ycp Thu Oct 2 13:47:02 2008
@@ -20,6 +20,8 @@
import "Popup";
import "PackageCallbacks";
import "Report";
+ import "Packages";
+ import "DefaultDesktop";
boolean test_mode = false;
@@ -110,12 +112,21 @@
// select newly selected patterns for installation
foreach (map one_scenario, system_scenarios, {
if (one_scenario["id"]:"---" == chosen_selection) {
- foreach (string one_pattern, splitstring (one_scenario["patterns"]:"", " \t"), {
+ list <string> patterns_to_install = splitstring (one_scenario["patterns"]:"", " \t");
+
+ foreach (string one_pattern, patterns_to_install, {
y2milestone ("Selecting pattern: %1", one_pattern);
Pkg::ResolvableInstall (one_pattern, `pattern);
});
+
+ Packages::required_patterns = patterns_to_install;
+ y2milestone ("Packages::required_patterns: %1", Packages::required_patterns);
}
});
+
+ string desktop = ProductFeatures::GetStringFeature ("software", "scenarios_desktop");
+ y2milestone ("Using default desktop: %1", desktop);
+ DefaultDesktop::SetDesktop (desktop);
}
// adjusting test mode - not used in installation
Modified: trunk/installation/yast2-installation.spec.in
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/yast2-installation.spec.in?rev=51790&r1=51789&r2=51790&view=diff
==============================================================================
--- trunk/installation/yast2-installation.spec.in (original)
+++ trunk/installation/yast2-installation.spec.in Thu Oct 2 13:47:02 2008
@@ -25,8 +25,8 @@
# Language::Set (handles downloading the translation extensions)
Requires: yast2-country-data >= 2.16.11
-# Unified progress bar (done by visnov)
-Requires: yast2-packager >= 2.17.9
+# Packages::required_patterns
+Requires: yast2-packager >= 2.17.23
# Only in inst-sys
# Requires: yast2-runlevel
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org