summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-06-22 15:27:21 +0000
committerFrancois Pons <fpons@mandriva.com>2001-06-22 15:27:21 +0000
commit6fc8218bf3a2d756dce022f4982e3fc155c661d3 (patch)
tree22e9ac9e45b951ce9124e095faecc96402188550 /perl-install/install_any.pm
parentcb0c378b9e12a5304b7c920ae77bd436ac09de0a (diff)
downloaddrakx-6fc8218bf3a2d756dce022f4982e3fc155c661d3.tar
drakx-6fc8218bf3a2d756dce022f4982e3fc155c661d3.tar.gz
drakx-6fc8218bf3a2d756dce022f4982e3fc155c661d3.tar.bz2
drakx-6fc8218bf3a2d756dce022f4982e3fc155c661d3.tar.xz
drakx-6fc8218bf3a2d756dce022f4982e3fc155c661d3.zip
automagically install kernel-enterprise if memory is greater than 800MB.
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 6902f64a8..7ded141fa 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -320,6 +320,7 @@ sub setPackages {
push @{$o->{default_packages}}, "nfs-utils-clients" if $o->{method} eq "nfs";
push @{$o->{default_packages}}, "numlock" if $o->{miscellaneous}{numlock};
+ push @{$o->{default_packages}}, "kernel-enterprise" if availableRamMB() > 800;
push @{$o->{default_packages}}, "kernel22" if c::kernel_version() =~ /^\Q2.2/;
push @{$o->{default_packages}}, "kernel22-secure" if $o->{security} > 3;
push @{$o->{default_packages}}, "kernel-smp" if detect_devices::hasSMP();