summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-09 09:54:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-09 09:54:51 +0000
commit3fda90540688de2a9f48ef34e989ac6243e127f6 (patch)
tree4725ef9c1863410947ca01750af7deb74997a5d9
parent333cd0d93d4d4fd22d4c6553207a01e7a4d9079f (diff)
downloaddrakx-backup-do-not-use-3fda90540688de2a9f48ef34e989ac6243e127f6.tar
drakx-backup-do-not-use-3fda90540688de2a9f48ef34e989ac6243e127f6.tar.gz
drakx-backup-do-not-use-3fda90540688de2a9f48ef34e989ac6243e127f6.tar.bz2
drakx-backup-do-not-use-3fda90540688de2a9f48ef34e989ac6243e127f6.tar.xz
drakx-backup-do-not-use-3fda90540688de2a9f48ef34e989ac6243e127f6.zip
BIGMEM now means >4GB
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 4ad8321b8..fb6c3a80b 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -663,7 +663,7 @@ sub setDefaultPackages {
$o->{rpmsrate_flags_chosen}{USB} = 1 if $o->{modules_conf}->get_probeall("usb-interface");
$o->{rpmsrate_flags_chosen}{PCMCIA} = 1 if detect_devices::hasPCMCIA();
$o->{rpmsrate_flags_chosen}{HIGH_SECURITY} = 1 if $o->{security} > 3;
- $o->{rpmsrate_flags_chosen}{BIGMEM} = 1 if !$::oem && availableRamMB() > 800 && arch() !~ /ia64|x86_64/;
+ $o->{rpmsrate_flags_chosen}{BIGMEM} = 1 if c::dmiDetectMemory() > 4 * 1024;
$o->{rpmsrate_flags_chosen}{SMP} = 1 if detect_devices::hasSMP();
$o->{rpmsrate_flags_chosen}{CDCOM} = 1 if any { $_->{descr} =~ /commercial/i } values %{$o->{packages}{mediums}};
$o->{rpmsrate_flags_chosen}{TV} = 1 if detect_devices::getTVcards();