summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/any.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 96c2b0e82..3cd3cb32a 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -2,6 +2,7 @@
from compssUsers.pl) and netbooks/nettops
- use a minimum rpmsrate level of 5 when netbook/nettop/low_resources
systems are detected
+- set LIGHT rpmsrate flag for netbook/nettop/low_resources systems
Version 11.65 - 2 October 2008
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index ab4900929..e07e70689 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -480,6 +480,7 @@ 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} && devices::need_light_desktop();
$rpmsrate_flags_chosen->{'3D'} = 1 if
$o->{match_all_hardware} ||
detect_devices::matching_desc__regexp('Matrox.* G[245][05]0') ||