2005-01-08 08:23:02 +00:00
|
|
|
Summary: Tool to update x86/x86-64 CPU microcode.
|
|
|
|
Name: microcode_ctl
|
2007-07-03 01:37:32 +00:00
|
|
|
Version: 1.17
|
2011-03-24 09:47:11 +00:00
|
|
|
Release: 13%{?dist}
|
2008-03-29 19:17:40 +00:00
|
|
|
Epoch: 1
|
2005-01-08 08:23:02 +00:00
|
|
|
Group: System Environment/Base
|
2010-09-07 17:56:01 +00:00
|
|
|
License: GPLv2+ and Redistributable, no modification permitted
|
2008-02-08 02:36:06 +00:00
|
|
|
URL: http://www.urbanmyth.org/microcode/
|
|
|
|
Source0: http://www.urbanmyth.org/microcode/microcode_ctl-%{version}.tar.gz
|
2010-03-23 09:26:52 +00:00
|
|
|
Source1: microcode_ctl.rules
|
2008-02-08 02:36:06 +00:00
|
|
|
# Microcode now distributed directly by Intel, at
|
2008-03-29 19:17:40 +00:00
|
|
|
# http://downloadcenter.intel.com (just search for microcode)
|
2011-01-06 08:47:50 +00:00
|
|
|
Source2: microcode-20101123.dat
|
2009-12-04 17:32:38 +00:00
|
|
|
# http://www.amd64.org/support/microcode.html
|
2011-03-07 07:03:17 +00:00
|
|
|
Source3: amd-ucode-2011-01-11.tar
|
2005-01-08 08:23:02 +00:00
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
2010-03-23 09:26:52 +00:00
|
|
|
Requires: udev
|
2008-03-29 19:17:40 +00:00
|
|
|
Requires(pre): /sbin/chkconfig /sbin/service
|
|
|
|
Requires(pre): grep gawk coreutils
|
2009-06-03 19:14:37 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64
|
2005-01-08 08:23:02 +00:00
|
|
|
|
|
|
|
Patch1: microcode_ctl.patch
|
2011-01-19 15:34:30 +00:00
|
|
|
Patch2: microcode_ctl-manpage-0.patch
|
2005-01-08 08:23:02 +00:00
|
|
|
|
|
|
|
%description
|
2009-12-04 17:32:38 +00:00
|
|
|
microcode_ctl - updates the microcode on Intel and AMD x86/x86-64 CPU's
|
2005-01-08 08:23:02 +00:00
|
|
|
|
|
|
|
%prep
|
2008-02-08 02:36:06 +00:00
|
|
|
%setup -q
|
|
|
|
%patch1 -p1
|
2011-01-19 15:34:30 +00:00
|
|
|
%patch2 -p1
|
2009-12-04 17:32:38 +00:00
|
|
|
tar xf %{SOURCE3}
|
2005-01-08 08:23:02 +00:00
|
|
|
|
|
|
|
%build
|
2008-03-17 20:50:28 +00:00
|
|
|
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
2005-01-08 08:23:02 +00:00
|
|
|
|
|
|
|
%install
|
2008-02-08 02:36:06 +00:00
|
|
|
rm -rf %{buildroot}
|
2005-01-08 08:23:02 +00:00
|
|
|
|
2008-02-08 02:36:06 +00:00
|
|
|
mkdir -p %{buildroot}/usr/share/man/man{1,8}
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
|
2009-12-04 17:32:38 +00:00
|
|
|
mkdir -p %{buildroot}/lib/firmware/amd-ucode/
|
2005-01-08 08:23:02 +00:00
|
|
|
|
2008-02-08 02:36:06 +00:00
|
|
|
make DESTDIR=%{buildroot} PREFIX=%{_prefix} \
|
2008-02-22 20:19:44 +00:00
|
|
|
INSDIR=/sbin MANDIR=%{_mandir}/man8 RCDIR=%{_sysconfdir} install clean
|
2005-01-08 08:23:02 +00:00
|
|
|
|
2010-03-23 09:26:52 +00:00
|
|
|
rm -rf %{buildroot}/etc/*
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/lib/udev/rules.d
|
|
|
|
install -m 644 %{SOURCE1} %{buildroot}/lib/udev/rules.d/89-microcode.rules
|
2008-02-22 20:01:12 +00:00
|
|
|
install -m 644 %{SOURCE2} %{buildroot}/lib/firmware/microcode.dat
|
2005-01-08 08:23:02 +00:00
|
|
|
|
2011-03-07 07:29:20 +00:00
|
|
|
install -m 644 amd-ucode-2011-01-11/microcode_amd.bin %{buildroot}/lib/firmware/amd-ucode/microcode_amd.bin
|
|
|
|
install -m 644 amd-ucode-2011-01-11/LICENSE LICENSE.microcode_amd
|
|
|
|
install -m 644 amd-ucode-2011-01-11/README README.microcode_amd
|
|
|
|
install -m 644 amd-ucode-2011-01-11/INSTALL INSTALL.microcode_amd
|
2009-12-04 17:32:38 +00:00
|
|
|
|
2005-01-08 08:23:02 +00:00
|
|
|
chmod -R a-s %{buildroot}
|
2008-02-08 02:36:06 +00:00
|
|
|
|
2005-01-08 08:23:02 +00:00
|
|
|
%clean
|
2008-03-17 20:50:28 +00:00
|
|
|
rm -rf %{buildroot}
|
2005-01-08 08:23:02 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-02-22 20:01:12 +00:00
|
|
|
/lib/firmware/*
|
2010-03-23 09:26:52 +00:00
|
|
|
/lib/udev/rules.d/*
|
2005-01-08 08:23:02 +00:00
|
|
|
/sbin/microcode_ctl
|
2009-12-04 17:32:38 +00:00
|
|
|
%doc LICENSE.microcode_amd README.microcode_amd INSTALL.microcode_amd
|
2005-01-08 08:23:02 +00:00
|
|
|
%attr(0644,root,root) %{_mandir}/*/*
|
|
|
|
|
2010-03-23 09:26:52 +00:00
|
|
|
%triggerun -- microcode_ctl < 1:1.17-2
|
|
|
|
/sbin/chkconfig --del microcode_ctl
|
2009-12-04 17:32:38 +00:00
|
|
|
exit 0
|
2005-01-08 08:23:02 +00:00
|
|
|
|
2005-01-14 06:25:49 +00:00
|
|
|
|
2011-03-24 09:47:11 +00:00
|
|
|
%changeloga
|
|
|
|
* Thu Mar 24 2011 Anton Arapov <anton@redhat.com> 1.17-13
|
|
|
|
- fix memory leak.
|
|
|
|
|
2011-03-07 07:03:17 +00:00
|
|
|
* Mon Mar 07 2011 Anton Arapov <anton@redhat.com> 1.17-12
|
|
|
|
- Update to amd-ucode-2011-01-11.tar
|
|
|
|
|
2011-02-08 17:47:13 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.17-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-19 15:34:30 +00:00
|
|
|
* Wed Jan 19 2011 Anton Arapov <anton@redhat.com> 1.17-10
|
|
|
|
- manpage fix (John Bradshaw ) [#670879]
|
|
|
|
|
2011-01-06 08:47:50 +00:00
|
|
|
* Wed Jan 05 2011 Anton Arapov <anton@redhat.com> 1.17-9
|
|
|
|
- Update to microcode-20101123.dat
|
|
|
|
|
2010-11-01 14:00:47 +00:00
|
|
|
* Mon Nov 01 2010 Anton Arapov <anton@redhat.com> 1.17-8
|
|
|
|
- Update to microcode-20100914.dat
|
|
|
|
|
2010-09-29 21:47:25 +00:00
|
|
|
* Wed Sep 29 2010 jkeating - 1:1.17-7
|
|
|
|
- Rebuilt for gcc bug 634757
|
|
|
|
|
2010-09-15 13:15:36 +00:00
|
|
|
* Wed Sep 15 2010 Anton Arapov <anton@redhat.com> 1.17-6
|
|
|
|
- Update to microcode-20100826.dat
|
|
|
|
|
2010-09-07 17:56:01 +00:00
|
|
|
* Tue Sep 07 2010 Toshio Kuratomi <toshio@fedoraproject.org> 1.17-5
|
|
|
|
- Fix license tag: bz#450491
|
|
|
|
|
2010-08-28 03:27:32 +00:00
|
|
|
* Fri Aug 27 2010 Dave Jones <davej@redhat.com> 1.17-4
|
|
|
|
- Update to microcode-20100826.dat
|
|
|
|
|
2010-03-23 09:57:30 +00:00
|
|
|
* Tue Mar 23 2010 Anton Arapov <anton@redhat.com> 1.17-3
|
|
|
|
- Fix the udev rules (Harald Hoyer )
|
|
|
|
|
2010-03-23 09:26:52 +00:00
|
|
|
* Mon Mar 22 2010 Anton Arapov <anton@redhat.com> 1.17-2
|
|
|
|
- Make microcode_ctl event driven (Bill Nottingham ) Resolves rhbz#479898
|
|
|
|
|
|
|
|
* Thu Feb 11 2010 Dave Jones <davej@redhat.com> 1.17-1.58
|
2010-02-12 04:55:28 +00:00
|
|
|
- Update to microcode-20100209.dat
|
|
|
|
|
2009-12-04 18:43:44 +00:00
|
|
|
* Fri Dec 04 2009 Kyle McMartin <kyle@redhat.com> 1.17-1.57
|
|
|
|
- Fix duplicate message pointed out by Edward Sheldrake.
|
|
|
|
|
2009-12-04 17:32:38 +00:00
|
|
|
* Wed Dec 02 2009 Kyle McMartin <kyle@redhat.com> 1.17-1.56
|
|
|
|
- Add AMD x86/x86-64 microcode. (Dated: 2009-10-09)
|
|
|
|
Doesn't need microcode_ctl modifications as it's loaded by
|
|
|
|
request_firmware() like any other sensible driver.
|
|
|
|
- Eventually, this AMD firmware can probably live inside
|
|
|
|
kernel-firmware once it is split out.
|
|
|
|
|
2009-10-01 02:21:44 +00:00
|
|
|
* Wed Sep 30 2009 Dave Jones <davej@redhat.com>
|
|
|
|
- Update to microcode-20090927.dat
|
|
|
|
|
2009-09-11 18:36:23 +00:00
|
|
|
* Fri Sep 11 2009 Dave Jones <davej@redhat.com>
|
|
|
|
- Remove some unnecessary code from the init script.
|
|
|
|
|
2009-07-25 12:10:29 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.17-1.52.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-06-25 23:35:01 +00:00
|
|
|
* Thu Jun 25 2009 Dave Jones <davej@redhat.com>
|
|
|
|
- Shorten sleep time during init.
|
|
|
|
This really needs to be replaced with proper udev hooks, but this is
|
|
|
|
a quick interim fix.
|
|
|
|
|
2009-06-03 18:57:43 +00:00
|
|
|
* Wed Jun 03 2009 Kyle McMartin <kyle@redhat.com> 1:1.17-1.50
|
|
|
|
- Change ExclusiveArch to i586 instead of i386. Resolves rhbz#497711.
|
|
|
|
|
2009-05-13 17:15:32 +00:00
|
|
|
* Wed May 13 2009 Dave Jones <davej@redhat.com>
|
|
|
|
- update to microcode 20090330
|
|
|
|
|
2009-02-26 00:39:56 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.17-1.46.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-09-13 03:50:35 +00:00
|
|
|
* Fri Sep 12 2008 Dave Jones <davej@redhat.com>
|
|
|
|
- update to microcode 20080910
|
|
|
|
|
2008-04-02 15:35:58 +00:00
|
|
|
* Tue Apr 01 2008 Jarod Wilson <jwilson@redhat.com>
|
|
|
|
- Update to microcode 20080401
|
|
|
|
|
2008-03-29 19:17:40 +00:00
|
|
|
* Sat Mar 29 2008 Dave Jones <davej@redhat.com>
|
|
|
|
- Update to microcode 20080220
|
|
|
|
- Fix rpmlint warnings in specfile.
|
|
|
|
|
2008-03-17 20:50:28 +00:00
|
|
|
* Mon Mar 17 2008 Dave Jones <davej@redhat.com>
|
|
|
|
- specfile cleanups.
|
|
|
|
|
2008-02-22 20:01:12 +00:00
|
|
|
* Fri Feb 22 2008 Jarod Wilson <jwilson@redhat.com>
|
|
|
|
- Use /lib/firmware instead of /etc/firmware
|
|
|
|
|
2008-02-13 15:35:35 +00:00
|
|
|
* Wed Feb 13 2008 Jarod Wilson <jwilson@redhat.com>
|
|
|
|
- Fix permissions on microcode.dat
|
|
|
|
|
2008-02-08 02:36:06 +00:00
|
|
|
* Thu Feb 07 2008 Jarod Wilson <jwilson@redhat.com>
|
|
|
|
- Spec cleanup and macro standardization.
|
|
|
|
- Update license
|
|
|
|
- Update microcode data file to 20080131 revision.
|
|
|
|
|
2007-07-03 01:37:32 +00:00
|
|
|
* Mon Jul 2 2007 Dave Jones <davej@redhat.com>
|
|
|
|
- Update to upstream 1.17
|
|
|
|
|
2006-10-12 21:54:24 +00:00
|
|
|
* Thu Oct 12 2006 Jon Masters <jcm@redhat.com>
|
|
|
|
- BZ209455 fixes.
|
|
|
|
|
2006-07-17 23:44:58 +00:00
|
|
|
* Mon Jul 17 2006 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuild
|
|
|
|
|
2006-06-17 03:12:29 +00:00
|
|
|
* Fri Jun 16 2006 Bill Nottingham <notting@redhat.com>
|
|
|
|
- remove kudzu requirement
|
|
|
|
- add prereq for coreutils, awk, grep
|
|
|
|
|
2006-02-09 06:23:55 +00:00
|
|
|
* Thu Feb 09 2006 Dave Jones <davej@redhat.com>
|
|
|
|
- rebuild.
|
|
|
|
|
2006-01-27 21:20:55 +00:00
|
|
|
* Fri Jan 27 2006 Dave Jones <davej@redhat.com>
|
|
|
|
- Update to upstream 1.13
|
|
|
|
|
2005-12-16 23:21:47 +00:00
|
|
|
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt for new gcj
|
|
|
|
|
2005-12-09 22:42:01 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-15 04:06:33 +00:00
|
|
|
* Mon Nov 14 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- initscript tweaks.
|
|
|
|
|
2005-09-14 02:57:16 +00:00
|
|
|
* Tue Sep 13 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- Update to upstream 1.12
|
|
|
|
|
2005-08-17 17:50:45 +00:00
|
|
|
* Wed Aug 17 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- Check for device node *after* loading the module. (#157672)
|
|
|
|
|
2005-03-02 04:06:20 +00:00
|
|
|
* Tue Mar 1 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- Rebuild for gcc4
|
|
|
|
|
2005-02-18 00:03:26 +00:00
|
|
|
* Thu Feb 17 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- s/Serial/Epoch/
|
|
|
|
|
2005-01-25 09:37:26 +00:00
|
|
|
* Tue Jan 25 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- Drop the node creation/deletion change from previous release.
|
|
|
|
It'll cause grief with selinux, and was a hack to get around
|
|
|
|
a udev shortcoming that should be fixed properly.
|
|
|
|
|
2005-01-21 22:29:56 +00:00
|
|
|
* Fri Jan 21 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- Create/remove the /dev/cpu/microcode dev node as needed.
|
2005-01-21 22:45:05 +00:00
|
|
|
- Use correct path again for the microcode.dat.
|
|
|
|
- Remove some no longer needed tests in the init script.
|
2005-01-21 22:29:56 +00:00
|
|
|
|
2005-01-14 06:45:38 +00:00
|
|
|
* Fri Jan 14 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- Only enable microcode_ctl service if the CPU is capable.
|
2005-01-14 07:42:02 +00:00
|
|
|
- Prevent microcode_ctl getting restarted multiple times on initlevel change (#141581)
|
|
|
|
- Make restart/reload work properly
|
|
|
|
- Do nothing if not started by root.
|
2005-01-14 06:45:38 +00:00
|
|
|
|
2005-01-13 04:23:43 +00:00
|
|
|
* Wed Jan 12 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- Adjust dev node location. (#144963)
|
|
|
|
|
2005-01-11 17:31:34 +00:00
|
|
|
* Tue Jan 11 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- Load/Remove microcode module in initscript.
|
|
|
|
|
2005-01-10 23:48:30 +00:00
|
|
|
* Mon Jan 10 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- Update to upstream 1.11 release.
|
|
|
|
|
2005-01-08 08:23:02 +00:00
|
|
|
* Sat Dec 18 2004 Dave Jones <davej@redhat.com>
|
|
|
|
- Initial packaging, based upon kernel-utils.
|
|
|
|
|