ucode-intel/ucode-intel.spec
Marcus Meissner 32c387ca9f - Update to 20180703 release, for the listed CPU chipsets
this fixes CVE-2018-3640 (Spectre v3a) CVE-2018-3639 (Spectre v4).
  (bsc#1100147 bsc#1087082 bsc#1087083)
  https://downloadcenter.intel.com/download/27945/Linux-Processor-Microcode-Data-File
  Following chipsets are fixed in this round:
  Model        Stepping F-MO-S/PI      Old->New
  ---- updated platforms ------------------------------------
  SNB-EP       C1       6-2d-6/6d 0000061c->0000061d Xeon E5
  SNB-EP       C2       6-2d-7/6d 00000713->00000714 Xeon E5
  IVT          C0       6-3e-4/ed 0000042c->0000042d Xeon E5 v2; Core i7-4960X/4930K/4820K
  IVT          D1       6-3e-7/ed 00000713->00000714 Xeon E5 v2
  HSX-E/EP/4S  C0       6-3f-2/6f 0000003c->0000003d Xeon E5 v3
  HSX-EX       E0       6-3f-4/80 00000011->00000012 Xeon E7 v3
  SKX-SP/D/W/X H0       6-55-4/b7 02000043->0200004d Xeon Bronze 31xx, Silver 41xx, Gold 51xx/61xx Platinum 81xx, D/W-21xx; Core i9-7xxxX
  BDX-DE       A1       6-56-5/10 0e000009->0e00000a Xeon D-15x3N
  ---- intel-ucode-with-caveats/ ----------------------------
  BDX-ML       B/M/R0   6-4f-1/ef 0b00002c->0b00002e Xeon E5/E7 v4; Core i7-69xx/68xx

OBS-URL: https://build.opensuse.org/package/show/Base:System/ucode-intel?expand=0&rev=69
2018-07-05 07:07:51 +00:00

73 lines
2.2 KiB
RPMSpec

#
# spec file for package ucode-intel
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ucode-intel
Version: 20180703
Release: 0
Summary: Microcode Updates for Intel x86/x86-64 CPUs
License: SUSE-Firmware
Group: Hardware/Other
BuildRequires: suse-module-tools
#License is: Intel Software License Agreement
Url: https://downloadcenter.intel.com/download/27945/Linux-Processor-Microcode-Data-File
Source0: https://downloadmirror.intel.com/27945/eng/microcode-%{version}.tgz
Source1: ucode-intel-rpmlintrc
Source2: LICENSE
Supplements: modalias(x86cpu:vendor%3A0000%3Afamily%3A*%3Amodel%3A*%3Afeature%3A*)
# new method ... note that only 1 : might be present, otherwise libzypp misinterprets it.
Supplements: modalias(cpu:type%3Ax86*ven0000*)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(post): coreutils
Requires(postun): coreutils
ExclusiveArch: %ix86 x86_64
%description
This package contains the microcode update blobs for Intel x86 and x86-64 CPUs.
%prep
%setup -q -c intel-ucode
cp %{SOURCE2} .
%build
#it is closed source.. nothing to build.
%install
mkdir -p %{buildroot}/lib/firmware/intel-ucode
cp intel-ucode/* %{buildroot}/lib/firmware/intel-ucode
cd intel-ucode-with-caveats
for microcode in *;do
cp $microcode %{buildroot}/lib/firmware/intel-ucode/$microcode.early
done
%post
%{?regenerate_initrd_post}
%postun
%{?regenerate_initrd_post}
%posttrans
%{?regenerate_initrd_posttrans}
%files
%defattr(-,root,root)
%doc LICENSE
%doc releasenote
/lib/firmware/intel-ucode/
%changelog