/[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 310077 - (hide annotations) (download)
Thu Oct 25 19:19:50 2012 UTC (11 years, 5 months ago) by tv
Original Path: cauldron/microcode/current/SPECS/microcode.spec
File size: 1430 byte(s)
amd update command needs fakeroot

1 tmb 19854 Summary: Intel / AMD CPU Microcode
2     Name: microcode
3 tv 223288 Version: 0.20120313
4 zezinho 251615 Release: %mkrel 2
5 tmb 19854 Group: System/Kernel and hardware
6     License: Distributable
7     # use update-intel-microcode --download-only (from microcode_ctl) to update
8     Source0: intel-microcode.dat
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    
13     %description
14     Since PentiumPro, Intel CPU are made of a RISC chip and of a microcode whose
15     purpose is to decompose "old" ia32 instruction into new risc ones.
16     P6 familly is concerned: PPro, PII, Celeron, PIII, Celeron2.
17     Recent kernels have the ability to update this microcode.
18    
19     The microcode update is volatile and needs to be uploaded on each system
20     boot. I.e. it doesn't reflash your cpu permanently.
21     Reboot and it reverts back to the old microcode.
22    
23     This package contains microcode for Intel CPU, as well as microcode for
24     AMD CPU (AMD Phenom(TM), AMD Opteron(TM) and AMD Turion(TM) 64 Ultra).
25    
26     %prep
27     %setup -q -T -c
28    
29     %build
30    
31     %install
32 zezinho 251615 rm -rf %{buildroot}
33 tmb 19854
34 zezinho 251615 mkdir -p %{buildroot}/lib/firmware/intel-microcode
35     install -m644 %{SOURCE0} %{buildroot}/lib/firmware/intel-microcode
36 tmb 19854
37 zezinho 251615 tar xf %{SOURCE1} -C %{buildroot}/lib/firmware
38     mv %{buildroot}/lib/firmware/amd-ucode-2012-01-17 %{buildroot}/lib/firmware/amd-ucode
39 tmb 19854
40     %clean
41    
42     %files
43     %defattr(-,root,root,-)
44     /lib/firmware/amd-ucode
45     /lib/firmware/intel-microcode/intel-microcode.dat
46    
47    

  ViewVC Help
Powered by ViewVC 1.1.30