summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2004-10-28 08:31:23 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2004-10-28 08:31:23 +0000
commitc04cab5b5113f5d134d5a29fb715f06467ea2a03 (patch)
tree2343850f1dd73ee3d36c7d81c89d67263142fd71 /perl-install/pkgs.pm
parent5976b3df2479955d6c1a57992ab5b8c5ed7b481a (diff)
downloaddrakx-backup-do-not-use-c04cab5b5113f5d134d5a29fb715f06467ea2a03.tar
drakx-backup-do-not-use-c04cab5b5113f5d134d5a29fb715f06467ea2a03.tar.gz
drakx-backup-do-not-use-c04cab5b5113f5d134d5a29fb715f06467ea2a03.tar.bz2
drakx-backup-do-not-use-c04cab5b5113f5d134d5a29fb715f06467ea2a03.tar.xz
drakx-backup-do-not-use-c04cab5b5113f5d134d5a29fb715f06467ea2a03.zip
IA-64 and X86-64 are full 64-bit arches thus don't need kernel-enterprise
Diffstat (limited to 'perl-install/pkgs.pm')
-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 93e02cf3c..2889fbee7 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, '') {