summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/detect_devices.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 915f4bf8a..8e7dfc310 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- desktop kernels are now PAE, for PTI security fixes to work properly,
+ so if cpu is not supporting it, install the desktop586 kernel
+
Version 18.7 - 27 Nov 2018
- drakdm: fix DM preference when none is selected (don't default to XDM)
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() {