summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-02 10:44:47 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-02 10:44:47 +0000
commit30b6dcccbf5c63399b932f4a85499683fa901772 (patch)
tree0cfc1d638285fe357660a373207146acdbe895de /perl-install/install/any.pm
parentdaea9040f3ab1cd53fc38dc8b2aaecb04245d1a7 (diff)
downloaddrakx-backup-do-not-use-30b6dcccbf5c63399b932f4a85499683fa901772.tar
drakx-backup-do-not-use-30b6dcccbf5c63399b932f4a85499683fa901772.tar.gz
drakx-backup-do-not-use-30b6dcccbf5c63399b932f4a85499683fa901772.tar.bz2
drakx-backup-do-not-use-30b6dcccbf5c63399b932f4a85499683fa901772.tar.xz
drakx-backup-do-not-use-30b6dcccbf5c63399b932f4a85499683fa901772.zip
set LIGHT rpmsrate flag for netbook/nettop/low_resources systems
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r--perl-install/install/any.pm1
1 files changed, 1 insertions, 0 deletions
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') ||