diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-05-24 20:18:42 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-05-24 20:18:42 +0000 |
commit | f496895ec638963a03385a75e7bcf2f9d16c9d28 (patch) | |
tree | a59a34b1c7015c7a9f68dd2205ae2c6a60c34558 /perl-install/install/pkgs.pm | |
parent | 0a8820a79be0b071b4119c843405920e4e82c782 (diff) | |
download | drakx-f496895ec638963a03385a75e7bcf2f9d16c9d28.tar drakx-f496895ec638963a03385a75e7bcf2f9d16c9d28.tar.gz drakx-f496895ec638963a03385a75e7bcf2f9d16c9d28.tar.bz2 drakx-f496895ec638963a03385a75e7bcf2f9d16c9d28.tar.xz drakx-f496895ec638963a03385a75e7bcf2f9d16c9d28.zip |
(_is_kernelServer_needed) forbid selecting kernel-server if not
having PAE since PAE support is mandatory for kernel-server (#1414)
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r-- | perl-install/install/pkgs.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index d734ebb73..389fffcc7 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -106,6 +106,8 @@ sub packageByName { } sub _is_kernelServer_needed() { + # forbid selecting kernel-server if not having PAE since PAE support is mandatory for kernel-server: + return if !detect_devices::has_cpu_flag('pae'); arch() =~ /i.86/ && detect_devices::dmi_detect_memory() > 3.8 * 1024 || detect_devices::isServer(); } |