summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2018-12-01 14:41:58 +0200
committerThomas Backlund <tmb@mageia.org>2018-12-01 14:41:58 +0200
commit3973d2c0d75b26326f771ff160cd0027006beb82 (patch)
tree303209cdc6855b36bff42d3f3026d9ae2e0f9af9 /perl-install/detect_devices.pm
parentb679b66f62ea55704864743eddb13e287f23a9f2 (diff)
downloaddrakx-3973d2c0d75b26326f771ff160cd0027006beb82.tar
drakx-3973d2c0d75b26326f771ff160cd0027006beb82.tar.gz
drakx-3973d2c0d75b26326f771ff160cd0027006beb82.tar.bz2
drakx-3973d2c0d75b26326f771ff160cd0027006beb82.tar.xz
drakx-3973d2c0d75b26326f771ff160cd0027006beb82.zip
- desktop kernels are now PAE, for PTI security fixes to work properly,
so if cpu is not supporting it, install the desktop586 kernel
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index b2a9b03f7..924f88325 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -1423,7 +1423,7 @@ sub is_i586() {
my $cpuinfo = cat_('/proc/cpuinfo');
$cpuinfo =~ /^cpu family\s*:\s*(\d+)/m && $1 < 6 ||
$cpuinfo =~ /^model name\s*:\s*Transmeta.* TM5800/m || # mdvbz#37866
- !has_cpu_flag('cmov');
+ !has_cpu_flag('cmov') || !has_cpu_flag('pae');
}
sub is_arm_openrd_client() {