diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-10-02 10:44:47 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-10-02 10:44:47 +0000 |
commit | 30b6dcccbf5c63399b932f4a85499683fa901772 (patch) | |
tree | 0cfc1d638285fe357660a373207146acdbe895de | |
parent | daea9040f3ab1cd53fc38dc8b2aaecb04245d1a7 (diff) | |
download | drakx-30b6dcccbf5c63399b932f4a85499683fa901772.tar drakx-30b6dcccbf5c63399b932f4a85499683fa901772.tar.gz drakx-30b6dcccbf5c63399b932f4a85499683fa901772.tar.bz2 drakx-30b6dcccbf5c63399b932f4a85499683fa901772.tar.xz drakx-30b6dcccbf5c63399b932f4a85499683fa901772.zip |
set LIGHT rpmsrate flag for netbook/nettop/low_resources systems
-rw-r--r-- | perl-install/install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/install/any.pm | 1 |
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') || |