/[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 737759 - (show 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 Summary: Intel / AMD CPU Microcode
2 Name: microcode
3 Version: 0.20140913
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 Source0: microcode-20130906.tgz
9 # use fakeroot update-amd-microcode --download-only (from microcode_ctl) to update
10 Source1: amd-ucode-latest.tar
11 Buildarch: noarch
12 BuildRequires: microcode_ctl
13
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 rm -rf %{buildroot}
34
35 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
39 tar xf %{SOURCE1} -C %{buildroot}/lib/firmware
40 mv %{buildroot}/lib/firmware/amd-ucode-2012-09-10 %{buildroot}/lib/firmware/amd-ucode
41
42 %clean
43
44 %files
45 %defattr(-,root,root,-)
46 /lib/firmware/amd-ucode
47 /lib/firmware/intel-ucode/
48
49

  ViewVC Help
Powered by ViewVC 1.1.30