/[packages]/updates/5/microcode/current/SPECS/microcode.spec
ViewVC logotype

Contents of /updates/5/microcode/current/SPECS/microcode.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1084470 - (show annotations) (download)
Wed Feb 1 08:13:05 2017 UTC (7 years, 2 months ago) by zezinho
File size: 1594 byte(s)
(mga#20228) Update to latest intel microcode
1 Summary: Intel / AMD CPU Microcode
2 Name: microcode
3 Version: 0.20160409
4 Release: %mkrel 1
5 Group: System/Kernel and hardware
6 License: Distributable
7 # use update-intel-microcode --download-only (from microcode_ctl) to update
8 # fails so last known is https://downloadmirror.intel.com/26400/eng/microcode-20161104.tgz
9 Source0: microcode-20161104.tgz
10 # use fakeroot update-amd-microcode --download-only (from microcode_ctl) to update
11 Source1: amd-ucode-latest.tar
12 Buildarch: noarch
13 BuildRequires: microcode_ctl
14 # (tmb) conflict lock elision enabled glibc as it will crash
15 Conflicts: glibc < 6:2.20-11
16
17 %description
18 Since PentiumPro, Intel CPU are made of a RISC chip and of a microcode whose
19 purpose is to decompose "old" ia32 instruction into new risc ones.
20 P6 familly is concerned: PPro, PII, Celeron, PIII, Celeron2.
21 Recent kernels have the ability to update this microcode.
22
23 The microcode update is volatile and needs to be uploaded on each system
24 boot. I.e. it doesn't reflash your cpu permanently.
25 Reboot and it reverts back to the old microcode.
26
27 This package contains microcode for Intel CPU, as well as microcode for
28 AMD CPU (AMD Phenom(TM), AMD Opteron(TM) and AMD Turion(TM) 64 Ultra).
29
30 %prep
31 %setup -q -T -c
32
33 %build
34
35 %install
36 rm -rf %{buildroot}
37
38 mkdir -p %{buildroot}/lib/firmware/intel-ucode
39 tar -xOf %{SOURCE0} | /sbin/intel-microcode2ucode - >/dev/null
40 install -m 644 intel-ucode/* %{buildroot}/lib/firmware/intel-ucode
41
42 tar xf %{SOURCE1} -C %{buildroot}/lib/firmware
43
44 %clean
45
46 %files
47 %defattr(-,root,root,-)
48 /lib/firmware/amd-ucode/
49 /lib/firmware/intel-ucode/
50
51

  ViewVC Help
Powered by ViewVC 1.1.30