]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
kernel.spec: Require the new microcode_ctl.
authorKonrad Rzeszutek Wilk <konrad@kernel.org>
Thu, 4 Jan 2018 15:38:42 +0000 (10:38 -0500)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:19:59 +0000 (10:19 -0800)
Which provides the new CPUID and MSRs to combat
CVE-2017-5715

Orabug: 27344012
CVE: CVE-2017-5715

Suggested-by: Todd Vierling <todd.vierling@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
Reviewed-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
uek-rpm/ol6/kernel-uek.spec
uek-rpm/ol7/kernel-uek.spec

index 7617eeb9401c53a409004612a61c3a0d6bcc2c37..3eb6858290583be2c96cb82296896e71bdf261a0 100644 (file)
@@ -435,7 +435,7 @@ BuildRequires: rpm-build >= 4.4.2.1-4
 # Packages that need to be installed before the kernel is, because the %post
 # scripts use them.
 #
-%define kernel_prereq  fileutils, module-init-tools, initscripts >= 8.11.1-1, /sbin/new-kernel-pkg
+%define kernel_prereq  fileutils, module-init-tools, initscripts >= 8.11.1-1, /sbin/new-kernel-pkg, microcode_ctl >= 1.17-25.2
 %define initrd_prereq  dracut-kernel >= 004-242.0.3
 
 #
index e3c806ebd90f77124a512b2535a1b6fae36d55ba..2ebada896a4c99588bc3fdc686e8c39e83526cc1 100644 (file)
@@ -430,7 +430,7 @@ BuildRequires: rpm-build >= 4.4.2.1-4
 # Packages that need to be installed before the kernel is, because the %post
 # scripts use them.
 #
-%define kernel_prereq  fileutils, module-init-tools, initscripts >= 8.11.1-1, %{_sbindir}/new-kernel-pkg
+%define kernel_prereq  fileutils, module-init-tools, initscripts >= 8.11.1-1, %{_sbindir}/new-kernel-pkg, microcode_ctl >= 2.1-22.2
 %define initrd_prereq  dracut-kernel >= 033-360.0.3
 
 #