osc copypac from project:Base:System package:ucode-intel revision:54, using keep-link

OBS-URL: https://build.opensuse.org/package/show/Base:System/ucode-intel?expand=0&rev=57
This commit is contained in:
Marcus Meissner 2018-01-24 18:20:48 +00:00 committed by Git OBS Bridge
parent e0d61b2a4b
commit 34688c9ef2
5 changed files with 15 additions and 57 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7028c6199b164f09413e61527cd92fcdbdca5156a20370a9e0326253a69bff16
size 126936

3
microcode-20171117.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93bd1da9fa58ece0016702e657f708b7e496e56da637a3fe9a6d21f1d6f524dc
size 3594762

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:063f1aa3a546cb49323a5e0b516894e4b040007107b8c8ff017aca8a86204130
size 3676678

View File

@ -1,43 +1,3 @@
-------------------------------------------------------------------
Fri Jan 12 16:23:02 UTC 2018 - trenn@suse.de
- Fix URL to point to latest microcode on Intel web site
- Fix double size/content microcode bug (bsc#1075680)
- Add an overview of provided Intel processor microcodes for:
family, model, stepping and the revision in:
/usr/share/doc/packages/ucode-intel/microcode_revisions.txt
-------------------------------------------------------------------
Wed Jan 10 15:15:42 UTC 2018 - trenn@suse.de
- Update to version 20180108 (bsc#1075262)
- Revert last changes:
D firmware-CVE-2017-5715.tar.gz
The pre-released microcode fixing some important security issues
is now officially published (and included in the added tarball).
- New firmware updates since last version (20170707) are avail for these
Intel processors:
IVT C0 (06-3e-04:ed) 428->42a
SKL-U/Y D0 (06-4e-03:c0) ba->c2
BDW-U/Y E/F (06-3d-04:c0) 25->28
HSW-ULT Cx/Dx (06-45-01:72) 20->21
Crystalwell Cx (06-46-01:32) 17->18
BDW-H E/G (06-47-01:22) 17->1b
HSX-EX E0 (06-3f-04:80) 0f->10
SKL-H/S R0 (06-5e-03:36) ba->c2
HSW Cx/Dx (06-3c-03:32) 22->23
HSX C0 (06-3f-02:6f) 3a->3b
BDX-DE V0/V1 (06-56-02:10) 0f->14
BDX-DE V2 (06-56-03:10) 700000d->7000011
KBL-U/Y H0 (06-8e-09:c0) 62->80
KBL Y0 / CFL D0 (06-8e-0a:c0) 70->80
KBL-H/S B0 (06-9e-09:2a) 5e->80
CFL U0 (06-9e-0a:22) 70->80
CFL B0 (06-9e-0b:02) 72->80
SKX H0 (06-55-04:b7) 2000035->200003c
GLK B0 (06-7a-01:01) 1e->22
-------------------------------------------------------------------
Sat Dec 23 13:12:18 UTC 2017 - meissner@suse.com

View File

@ -17,17 +17,18 @@
Name: ucode-intel
Version: 20180108
Version: 20171117
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/27431/Linux-Processor-Microcode-Data-File
Url: https://downloadcenter.intel.com/download/25512/Linux-Processor-Microcode-Data-File
Source0: microcode-%{version}.tgz
Source1: intel-microcode2ucode.c
Source2: LICENSE
Source3: firmware-CVE-2017-5715.tar.gz
Supplements: modalias(x86cpu:vendor%3A0000%3Afamily%3A*%3Amodel%3A*%3Afeature%3A*)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(post): coreutils
@ -40,20 +41,15 @@ This package contains the microcode update blobs for Intel x86 and x86-64 CPUs.
%prep
%setup -q -c intel-ucode
cp %{SOURCE2} .
tar xf %{SOURCE3}
%build
%{__cc} -fwhole-program %{optflags} %{SOURCE1} -o generate_microcode
# Microcodes are already splitted up in family-model-stepping files inside
# the tarball nowadays. Still generate them from microcode.dat once into
# tmp directory for retrieving revisions from output.
# Do not do this in the original directory or microcodes are appended and
# have duplicate content while still working.
OPWD=$PWD
TMP=$(mktemp -d)
cd $TMP
$OPWD/generate_microcode $OPWD/microcode.dat >$OPWD/microcode_revisions.txt
cd $OPWD
rm -rf $TMP
for i in *.dat */*.dat;
do
./generate_microcode "$i"
done
%install
install -D -m 0755 generate_microcode %{buildroot}%{_bindir}/generate_microcode
@ -73,7 +69,6 @@ done
%files
%defattr(-,root,root)
%doc LICENSE
%doc microcode_revisions.txt
%{_bindir}/generate_microcode
/lib/firmware/intel-ucode/