From 30b6dcccbf5c63399b932f4a85499683fa901772 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 2 Oct 2008 10:44:47 +0000 Subject: set LIGHT rpmsrate flag for netbook/nettop/low_resources systems --- perl-install/install/NEWS | 1 + perl-install/install/any.pm | 1 + 2 files changed, 2 insertions(+) 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') || -- cgit v1.2.1