summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2004-10-28 08:28:34 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2004-10-28 08:28:34 +0000
commitb89e8dcc96c82db532aeb85bcd19bc5e9ce42c10 (patch)
treed883059d42615e0d9a007540f997dbbfcb69819f /perl-install
parentfdec32a91095f53b9a4d5263594048a17d8b52ca (diff)
downloaddrakx-b89e8dcc96c82db532aeb85bcd19bc5e9ce42c10.tar
drakx-b89e8dcc96c82db532aeb85bcd19bc5e9ce42c10.tar.gz
drakx-b89e8dcc96c82db532aeb85bcd19bc5e9ce42c10.tar.bz2
drakx-b89e8dcc96c82db532aeb85bcd19bc5e9ce42c10.tar.xz
drakx-b89e8dcc96c82db532aeb85bcd19bc5e9ce42c10.zip
IA-64 and X86-64 are full 64-bit arches and thus don't need kernel-enterprise
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 1e0694503..6e62de9e1 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -202,7 +202,7 @@ sub bestKernelPackage {
}
my @prefered_exts =
detect_devices::is_i586() ? '-i586-up-1GB' :
- c::dmiDetectMemory() > 4 * 1024 ? ('-enterprise', '-smp') :
+ (arch() !~ /x86_64|ia64/ && c::dmiDetectMemory() > 4 * 1024) ? ('-enterprise', '-smp') :
detect_devices::hasSMP() ? '-smp' :
'';
foreach my $prefered_ext (@prefered_exts, '') {