4 |
Summary: Intel / AMD CPU Microcode |
Summary: Intel / AMD CPU Microcode |
5 |
Name: microcode |
Name: microcode |
6 |
Version: 0.%{intel_date} |
Version: 0.%{intel_date} |
7 |
Release: %mkrel 1 |
Release: %mkrel 2 |
8 |
Group: System/Kernel and hardware |
Group: System/Kernel and hardware |
9 |
License: Distributable |
License: Distributable |
10 |
# use the debian way to get microcodes for older CPUs as Intel removes old firmwares from recent releases |
# use the debian way to get microcodes for older CPUs as Intel removes old firmwares from recent releases |
11 |
Source0: http://http.debian.net/debian/pool/non-free/i/intel-microcode/intel-microcode_3.%{intel_date}.1.tar.xz |
Source0: http://http.debian.net/debian/pool/non-free/i/intel-microcode/intel-microcode_3.%{intel_date}.1.tar.xz |
12 |
# use fakeroot /sbin/update-amd-microcode --download-only (from microcode_ctl) to update |
# use fakeroot /sbin/update-amd-microcode --download-only (from microcode_ctl) to update |
13 |
Source1: amd-ucode-latest.tar |
Source1: amd-ucode-latest.tar |
14 |
|
Source2: amd-ucode-fam17h.tar |
15 |
Buildarch: noarch |
Buildarch: noarch |
16 |
BuildRequires: iucode-tool |
BuildRequires: iucode-tool |
17 |
BuildRequires: microcode_ctl |
BuildRequires: microcode_ctl |
28 |
boot. I.e. it doesn't reflash your cpu permanently. |
boot. I.e. it doesn't reflash your cpu permanently. |
29 |
Reboot and it reverts back to the old microcode. |
Reboot and it reverts back to the old microcode. |
30 |
|
|
31 |
This package contains microcode for Intel CPU, as well as microcode for |
This package contains microcode for Intel and Amd CPUs. |
|
AMD CPU (AMD Phenom(TM), AMD Opteron(TM) and AMD Turion(TM) 64 Ultra). |
|
32 |
|
|
33 |
%prep |
%prep |
34 |
%setup -q -T -c |
%setup -q -T -c |
51 |
install -m 644 intel-ucode/* %{buildroot}/lib/firmware/intel-ucode |
install -m 644 intel-ucode/* %{buildroot}/lib/firmware/intel-ucode |
52 |
|
|
53 |
tar xf %{SOURCE1} -C %{buildroot}/lib/firmware |
tar xf %{SOURCE1} -C %{buildroot}/lib/firmware |
54 |
|
tar xf %{SOURCE2} -C %{buildroot}/lib/firmware |
55 |
|
|
56 |
%clean |
%clean |
57 |
|
|