/[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 737759 - (hide annotations) (download)
Thu Oct 9 17:15:27 2014 UTC (9 years, 6 months ago) by tv
Original Path: cauldron/microcode/current/SPECS/microcode.spec
File size: 1498 byte(s)
update to latest Intel microcode
1 tmb 19854 Summary: Intel / AMD CPU Microcode
2     Name: microcode
3 tv 737759 Version: 0.20140913
4     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 tv 559054 Source0: microcode-20130906.tgz
9 tv 310077 # use fakeroot update-amd-microcode --download-only (from microcode_ctl) to update
10 tmb 19854 Source1: amd-ucode-latest.tar
11     Buildarch: noarch
12 tv 559054 BuildRequires: microcode_ctl
13 tmb 19854
14     %description
15     Since PentiumPro, Intel CPU are made of a RISC chip and of a microcode whose
16     purpose is to decompose "old" ia32 instruction into new risc ones.
17     P6 familly is concerned: PPro, PII, Celeron, PIII, Celeron2.
18     Recent kernels have the ability to update this microcode.
19    
20     The microcode update is volatile and needs to be uploaded on each system
21     boot. I.e. it doesn't reflash your cpu permanently.
22     Reboot and it reverts back to the old microcode.
23    
24     This package contains microcode for Intel CPU, as well as microcode for
25     AMD CPU (AMD Phenom(TM), AMD Opteron(TM) and AMD Turion(TM) 64 Ultra).
26    
27     %prep
28     %setup -q -T -c
29    
30     %build
31    
32     %install
33 zezinho 251615 rm -rf %{buildroot}
34 tmb 19854
35 tv 559054 mkdir -p %{buildroot}/lib/firmware/intel-ucode
36     tar -xOf %{SOURCE0} | /sbin/intel-microcode2ucode - >/dev/null
37     install -m 644 intel-ucode/* %{buildroot}/lib/firmware/intel-ucode
38 tmb 19854
39 zezinho 251615 tar xf %{SOURCE1} -C %{buildroot}/lib/firmware
40 tv 310083 mv %{buildroot}/lib/firmware/amd-ucode-2012-09-10 %{buildroot}/lib/firmware/amd-ucode
41 tmb 19854
42     %clean
43    
44     %files
45     %defattr(-,root,root,-)
46     /lib/firmware/amd-ucode
47 tv 559054 /lib/firmware/intel-ucode/
48 tmb 19854
49    

  ViewVC Help
Powered by ViewVC 1.1.30