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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1084470 - (hide 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 tmb 19854 Summary: Intel / AMD CPU Microcode
2     Name: microcode
3 tmb 999906 Version: 0.20160409
4 tmb 986056 Release: %mkrel 1
5 tmb 19854 Group: System/Kernel and hardware
6     License: Distributable
7     # use update-intel-microcode --download-only (from microcode_ctl) to update
8 zezinho 1084470 # fails so last known is https://downloadmirror.intel.com/26400/eng/microcode-20161104.tgz
9     Source0: microcode-20161104.tgz
10 tv 310077 # use fakeroot update-amd-microcode --download-only (from microcode_ctl) to update
11 tmb 19854 Source1: amd-ucode-latest.tar
12     Buildarch: noarch
13 tv 559054 BuildRequires: microcode_ctl
14 tmb 751292 # (tmb) conflict lock elision enabled glibc as it will crash
15     Conflicts: glibc < 6:2.20-11
16 tmb 19854
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 zezinho 251615 rm -rf %{buildroot}
37 tmb 19854
38 tv 559054 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 tmb 19854
42 zezinho 251615 tar xf %{SOURCE1} -C %{buildroot}/lib/firmware
43 tmb 19854
44     %clean
45    
46     %files
47     %defattr(-,root,root,-)
48 tmb 999906 /lib/firmware/amd-ucode/
49 tv 559054 /lib/firmware/intel-ucode/
50 tmb 19854
51    

  ViewVC Help
Powered by ViewVC 1.1.30