summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
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/install/any.pm
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/install/any.pm')
-rw-r--r--perl-install/install/any.pm5
1 files changed, 4 insertions, 1 deletions
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') ||