summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-02 16:32:36 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-02 16:32:36 +0000
commit13023a5c5ba4178c3d34204b8477d006cf587705 (patch)
tree7a0456c93ce72ffd3a287adbaccdda9f3cf6cffe /perl-install
parenta2ff24c0cf0517e2e03e001af9745f60b5bbfe7c (diff)
downloaddrakx-backup-do-not-use-13023a5c5ba4178c3d34204b8477d006cf587705.tar
drakx-backup-do-not-use-13023a5c5ba4178c3d34204b8477d006cf587705.tar.gz
drakx-backup-do-not-use-13023a5c5ba4178c3d34204b8477d006cf587705.tar.bz2
drakx-backup-do-not-use-13023a5c5ba4178c3d34204b8477d006cf587705.tar.xz
drakx-backup-do-not-use-13023a5c5ba4178c3d34204b8477d006cf587705.zip
log activation of light desktop mode
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/any.pm5
2 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 7572e9dcd..b5e63c0ea 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,5 +1,6 @@
- when upgrading a kde3 box, force installation of task-kde4
- adjust some help IDs
+- log activation of light desktop mode
Version 11.66.1 - 2 October 2008
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index da40aa82b..5a1ab159e 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -495,7 +495,10 @@ sub rpmsrate_always_flags {
$rpmsrate_flags_chosen->{HIGH_SECURITY} = 1 if $o->{security} > 3;
$rpmsrate_flags_chosen->{BIGMEM} = 1 if detect_devices::BIGMEM();
$rpmsrate_flags_chosen->{SMP} = 1 if $o->{match_all_hardware} || detect_devices::hasSMP();
- $rpmsrate_flags_chosen->{LIGHT} = 1 if !$o->{match_all_hardware} && !defined $o->{compssListLevel} && detect_devices::need_light_desktop();
+ if (!$o->{match_all_hardware} && !defined $o->{compssListLevel} && detect_devices::need_light_desktop()) {
+ log::l("activation light desktop mode (for low resources systems or netbook/nettops)");
+ $rpmsrate_flags_chosen->{LIGHT} = 1;
+ }
$rpmsrate_flags_chosen->{'3D'} = 1 if
$o->{match_all_hardware} ||
detect_devices::matching_desc__regexp('Matrox.* G[245][05]0') ||