Blame SPECS/microcode_ctl.spec

ccd24f
%define upstream_version 2.1-18
6c53eb
%define intel_ucode_version 20190514a
742279
%define intel_ucode_file_id 28727
4eb1a6
%define microcode_ctl_libexec %{_libexecdir}/microcode_ctl
539655
%define update_ucode %{microcode_ctl_libexec}/update_ucode
539655
%define check_caveats %{microcode_ctl_libexec}/check_caveats
539655
%define reload_microcode %{microcode_ctl_libexec}/reload_microcode
4eb1a6
%define dracutlibdir %{_prefix}/lib/dracut
4eb1a6
%define i_m2u_man intel-microcode2ucode.8
ea6c69
ea6c69
Summary:        Tool to transform and deploy CPU microcode update for x86.
ea6c69
Name:           microcode_ctl
ea6c69
Version:        2.1
6c53eb
Release:        47.4%{?dist}
ea6c69
Epoch:          2
ea6c69
Group:          System Environment/Base
ea6c69
License:        GPLv2+ and Redistributable, no modification permitted
19486f
URL:            https://pagure.io/microcode_ctl
4eb1a6
Source0:        https://releases.pagure.org/microcode_ctl/%{name}-%{upstream_version}.tar.xz
6c53eb
Source1:        https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-%{intel_ucode_version}.tar.gz
4eb1a6
4eb1a6
Source2:        microcode.service
4eb1a6
4eb1a6
Source3:        01-microcode.conf
4eb1a6
Source4:        dracut_99microcode_ctl-fw_dir_override_module_init.sh
4eb1a6
4eb1a6
Source5:        update_ucode
4eb1a6
Source6:        check_caveats
4eb1a6
Source7:        reload_microcode
4eb1a6
742279
Source9:        99-microcode-override.conf
742279
4eb1a6
Source10:       06-4f-01_readme
4eb1a6
Source11:       06-4f-01_config
4eb1a6
4eb1a6
Source20:       intel_readme
4eb1a6
Source21:       intel_config
4eb1a6
4eb1a6
Source30:       README.caveats
4eb1a6
Source31:       %{i_m2u_man}.in
4eb1a6
742279
Source100:      gen_provides.sh
742279
ccd24f
Patch1:         microcode_ctl-do-not-merge-ucode-with-caveats.patch
ccd24f
Patch2:         microcode_ctl-revert-intel-microcode2ucode-removal.patch
ccd24f
Patch3:         microcode_ctl-use-microcode-%{intel_ucode_version}-tgz.patch
4eb1a6
Patch4:         microcode_ctl-do-not-install-intel-ucode.patch
4eb1a6
Patch5:         microcode_ctl-intel-microcode2ucode-buf-handling.patch
742279
Patch6:         microcode_ctl-ignore-first-directory-level-in-archive.patch
539655
ea6c69
Buildroot:      %{_tmppath}/%{name}-%{version}-root
ea6c69
ExclusiveArch:  %{ix86} x86_64
e4b344
BuildRequires:  systemd-units
e4b344
Requires(post): systemd
e4b344
Requires(preun): systemd
e4b344
Requires(postun): systemd
8c144b
Requires(posttrans): kernel
ea6c69
742279
%global _use_internal_dependency_generator 0
742279
%define __find_provides "%{SOURCE100}"
742279
ea6c69
%description
ea6c69
The microcode_ctl utility is a companion to the microcode driver written
ea6c69
by Tigran Aivazian <tigran@aivazian.fsnet.co.uk>.
ea6c69
ea6c69
The microcode update is volatile and needs to be uploaded on each system
ea6c69
boot i.e. it doesn't reflash your cpu permanently, reboot and it reverts
ea6c69
back to the old microcode.
ea6c69
ea6c69
%prep
ea6c69
%setup -q -n %{name}-%{upstream_version}
4eb1a6
%patch1 -p1
ccd24f
%patch2 -p1
4eb1a6
742279
# Use the latest archive instead of microcode-20180703.tgz bundled
742279
# with upstream microcode_ctl-2.1-18.
4eb1a6
cp "%{SOURCE1}" .
ccd24f
%patch3 -p1
4eb1a6
4eb1a6
# We install ucode files manually into "intel" caveat directory
4eb1a6
%patch4 -p1
4eb1a6
4eb1a6
%patch5 -p1
ea6c69
742279
# The archive published on github has an additional top-level directory,
742279
# strip it.
742279
%patch6 -p1
742279
ea6c69
%build
ea6c69
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
ea6c69
4eb1a6
# We do not populate any intel-ucode files into /lib/firmware directly due to
4eb1a6
# early microcode load inside VM issue:
4eb1a6
#   https://bugzilla.redhat.com/show_bug.cgi?id=1596627
4eb1a6
#   https://bugzilla.redhat.com/show_bug.cgi?id=1607899
4eb1a6
#find intel-ucode -type f | sed 's/^/%%ghost \/lib\/firmware\//' > ghost_list
4eb1a6
touch ghost_list
4eb1a6
742279
tar xf "%{SOURCE1}" --wildcards --strip-components=1 \
6c53eb
	\*/intel-ucode-with-caveats \*/license \*/releasenote
ccd24f
4eb1a6
# man page
4eb1a6
sed "%{SOURCE31}" \
742279
	-e "s/@DATE@/2019-05-09/g" \
4eb1a6
	-e "s/@VERSION@/%{version}-%{release}/g" \
4eb1a6
	-e "s|@MICROCODE_URL@|https://downloadcenter.intel.com/download/%{intel_ucode_file_id}|g" > "%{i_m2u_man}"
539655
ea6c69
%install
ea6c69
rm -rf %{buildroot}
539655
make DESTDIR=%{buildroot} PREFIX=%{_prefix} INSDIR=/usr/sbin MICDIR=/usr/share/microcode_ctl install clean
ea6c69
4eb1a6
mkdir -p %{buildroot}%{dracutlibdir}/dracut.conf.d
e4b344
mkdir -p %{buildroot}%{_unitdir}
4eb1a6
install -m 644 %{SOURCE2} -t %{buildroot}%{_unitdir}
742279
install -m 644 %{SOURCE3} %{SOURCE9} \
742279
	-t %{buildroot}%{dracutlibdir}/dracut.conf.d
e4b344
4eb1a6
mkdir -p "%{buildroot}%{dracutlibdir}/modules.d/99microcode_ctl-fw_dir_override"
4eb1a6
install -m 755 %{SOURCE4} \
4eb1a6
	%{buildroot}%{dracutlibdir}/modules.d/99microcode_ctl-fw_dir_override/module-setup.sh
4eb1a6
4eb1a6
# Internal helper scripts
539655
mkdir -p %{buildroot}/%{microcode_ctl_libexec}
4eb1a6
install -m 755 %{SOURCE5} %{buildroot}/%{update_ucode}
4eb1a6
install -m 755 %{SOURCE6} %{buildroot}/%{check_caveats}
4eb1a6
install -m 755 %{SOURCE7} %{buildroot}/%{reload_microcode}
539655
4eb1a6
# caveats readme
4eb1a6
install -m 644 %{SOURCE30} -t %{buildroot}/usr/share/doc/microcode_ctl/
539655
4eb1a6
# Provide Intel microcode license, as it requires so
4eb1a6
install -m 644 license %{buildroot}/usr/share/doc/microcode_ctl/LICENSE.intel-ucode
539655
742279
# Provide release notes for Intel microcode
742279
install -m 644 releasenote %{buildroot}/usr/share/doc/microcode_ctl/RELEASE_NOTES.intel-ucode
742279
4eb1a6
# Handle ucode with caveats
4eb1a6
mkdir -p "%{buildroot}/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01/intel-ucode"
4eb1a6
install -m 644 intel-ucode-with-caveats/06-4f-01 \
4eb1a6
	-t %{buildroot}/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01/intel-ucode/
4eb1a6
install -m 644 %{SOURCE10} \
4eb1a6
	%{buildroot}/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01/readme
4eb1a6
install -m 644 %{SOURCE11} \
4eb1a6
	%{buildroot}/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01/config
4eb1a6
4eb1a6
mkdir -p "%{buildroot}/usr/share/microcode_ctl/ucode_with_caveats/intel/intel-ucode"
4eb1a6
install -m 644 intel-ucode/* \
4eb1a6
	-t %{buildroot}/usr/share/microcode_ctl/ucode_with_caveats/intel/intel-ucode/
4eb1a6
install -m 644 %{SOURCE20} \
4eb1a6
	%{buildroot}/usr/share/microcode_ctl/ucode_with_caveats/intel/readme
4eb1a6
install -m 644 %{SOURCE21} \
4eb1a6
	%{buildroot}/usr/share/microcode_ctl/ucode_with_caveats/intel/config
4eb1a6
742279
# Install caveat readme files to doc
742279
mkdir -p "%{buildroot}/usr/share/doc/microcode_ctl/caveats"
742279
install -m 644 "%{SOURCE10}" "%{SOURCE20}" \
742279
	-t "%{buildroot}/usr/share/doc/microcode_ctl/caveats/"
742279
4eb1a6
# Man page
4eb1a6
install -m 755 -d %{buildroot}/%{_mandir}/man8/
4eb1a6
install -m 644 "%{i_m2u_man}" -t %{buildroot}/%{_mandir}/man8/
4eb1a6
4eb1a6
# Cleanup
539655
rm -f intel-ucode-with-caveats/06-4f-01
539655
rmdir intel-ucode-with-caveats
4eb1a6
rm -rf intel-ucode
539655
e4b344
%post
e4b344
%systemd_post microcode.service
539655
%{update_ucode}
4eb1a6
%{reload_microcode}
4eb1a6
6c53eb
exit 0
8c144b
8c144b
%posttrans
5db210
# We only want to regenerate the initramfs for a fully booted
5db210
# system; if this package happened to e.g. be pulled in as a build
5db210
# dependency, it is pointless at best to regenerate the initramfs,
5db210
# and also does not work with rpm-ostree:
5db210
# https://bugzilla.redhat.com/show_bug.cgi?id=1199582
4eb1a6
#
4eb1a6
# Also check that the running kernel is actually installed:
4eb1a6
# https://bugzilla.redhat.com/show_bug.cgi?id=1591664
4eb1a6
# We use the presence of symvers file as an indicator, the check similar
4eb1a6
# to what weak-modules script does.
4eb1a6
if [ -d /run/systemd/system -a -e "/boot/symvers-$(uname -r).gz" ]; then
5db210
	dracut -f
5db210
fi
e4b344
e4b344
%preun
e4b344
%systemd_preun microcode.service
e4b344
539655
# Storing ucode list before uninstall
539655
ls /usr/share/microcode_ctl/intel-ucode |
539655
	sort > "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_intel-ucode"
539655
ls /usr/share/microcode_ctl/ucode_with_caveats |
539655
	sort > "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_ucode_caveats"
4eb1a6
%{update_ucode} --action list --skip-common |
4eb1a6
	sort > "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_file_list"
539655
e4b344
%postun
e4b344
%systemd_postun microcode.service
e4b344
742279
ls /usr/share/microcode_ctl/intel-ucode 2> /dev/null |
742279
	sort > "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_intel-ucode_after"
742279
comm -23 \
742279
	"%{_localstatedir}/lib/rpm-state/microcode_ctl_un_intel-ucode" \
742279
	"%{_localstatedir}/lib/rpm-state/microcode_ctl_un_intel-ucode_after" \
742279
	> "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_intel-ucode_diff"
742279
4eb1a6
if [ -e "%{update_ucode}" ]; then
4eb1a6
	ls /usr/share/microcode_ctl/ucode_with_caveats 2> /dev/null |
4eb1a6
		sort > "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_ucode_caveats_after"
539655
4eb1a6
	comm -23 \
4eb1a6
		"%{_localstatedir}/lib/rpm-state/microcode_ctl_un_ucode_caveats" \
4eb1a6
		"%{_localstatedir}/lib/rpm-state/microcode_ctl_un_ucode_caveats_after" \
4eb1a6
		> "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_ucode_caveats_diff"
539655
539655
	%{update_ucode} --action remove --cleanup \
539655
		"%{_localstatedir}/lib/rpm-state/microcode_ctl_un_intel-ucode_diff" \
539655
		"%{_localstatedir}/lib/rpm-state/microcode_ctl_un_ucode_caveats_diff" || exit 0
4eb1a6
4eb1a6
	rm -f "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_ucode_caveats_after"
4eb1a6
	rm -f "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_ucode_caveats_diff"
539655
else
4eb1a6
	while read -r f; do
539655
		[ -L "/lib/firmware/intel-ucode/$f" ] || continue
539655
		rm -f "/lib/firmware/intel-ucode/$f"
539655
	done < "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_intel-ucode_diff"
4eb1a6
4eb1a6
	rmdir "/lib/firmware/intel-ucode" 2>/dev/null || :
4eb1a6
4eb1a6
	# We presume that if we don't have update_ucode script, we can remove
4eb1a6
	# all the caveats-related files.
4eb1a6
	while read -r f; do
4eb1a6
		if [ -L "$f" ] || [ "${f%%readme-*}" != "$f" ]; then
4eb1a6
			rm -f "$f"
4eb1a6
			rmdir -p $(dirname "$f") 2>/dev/null || :
4eb1a6
		fi
4eb1a6
	done < "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_file_list"
539655
fi
539655
539655
rm -f "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_intel-ucode"
742279
rm -f "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_intel-ucode_after"
742279
rm -f "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_intel-ucode_diff"
742279
539655
rm -f "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_ucode_caveats"
539655
4eb1a6
rm -f "%{_localstatedir}/lib/rpm-state/microcode_ctl_un_file_list"
539655
742279
4eb1a6
exit 0
539655
539655
%triggerin -- kernel
539655
%{update_ucode}
539655
539655
%triggerpostun -- kernel
539655
%{update_ucode}
539655
539655
ea6c69
%clean
ea6c69
rm -rf %{buildroot}
ea6c69
539655
%files -f ghost_list
4eb1a6
%ghost %attr(0755, root, root) /lib/firmware/intel-ucode/
ea6c69
/usr/sbin/intel-microcode2ucode
539655
%{microcode_ctl_libexec}
539655
/usr/share/microcode_ctl
4eb1a6
%{dracutlibdir}/modules.d/99microcode_ctl-fw_dir_override
742279
%config(noreplace) %{dracutlibdir}/dracut.conf.d/*
e4b344
%{_unitdir}/microcode.service
ea6c69
%doc /usr/share/doc/microcode_ctl/*
4eb1a6
%{_mandir}/man8/*
ea6c69
ea6c69
ea6c69
%changelog
6c53eb
* Sun Jun 02 2019 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-47.4
6c53eb
- Remove disclaimer, as it is not as important now to justify kmsg/log
6c53eb
  pollution; its contents are partially adopted in README.caveats.
6c53eb
6c53eb
* Wed May 29 2019 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-47.3
6c53eb
- Intel CPU microcode update to 20190514a.
6c53eb
- Resolves: #1714958.
6c53eb
742279
* Fri May 10 2019 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-47.2
742279
- Intel CPU microcode update to 20190507_Public_DEMO.
742279
- Resolves: #1704374.
742279
742279
* Fri May 10 2019 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-47.1
742279
- Intel CPU microcode update to 20190312.
742279
- Add "Provides:" tags generation.
742279
- Fix %postun script.
742279
- Resolves: #1704374.
742279
ccd24f
* Wed Sep 05 2018 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-47
4eb1a6
- Add 7.3.z kernel version to kernel_early configuration.
4eb1a6
ccd24f
* Thu Aug 30 2018 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-46
4eb1a6
- Fix dracut module checks in Host-Only mode.
4eb1a6
ccd24f
* Thu Aug 30 2018 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-45
4eb1a6
- Disable 06-4f-01 microcode in config (#1623630).
4eb1a6
ccd24f
* Tue Aug 28 2018 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-44
4eb1a6
- Intel CPU microcode update to 20180807a.
4eb1a6
- Add README.caveats documentation file.
4eb1a6
- Add intel-microcode2ucode manual page.
4eb1a6
- Add check for early microcode load, use it in microcode_ctl dracut module.
ccd24f
- Resolves: #1596627.
ccd24f
ccd24f
* Mon Aug 20 2018 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-43
4eb1a6
- Check that the currently running kernel is installed before
4eb1a6
  running dracut -f.
4eb1a6
ccd24f
* Thu Aug 16 2018 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-42
ccd24f
- Drop "hypervisor" /proc/cpuinfo flag check.
ccd24f
ccd24f
* Thu Aug 09 2018 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-41
4eb1a6
- Intel CPU microcode update to 20180807.
ccd24f
- Resolves: #1614422
ccd24f
ccd24f
* Mon Aug 06 2018 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-40
ccd24f
- Add an ability to disable "hypervisor" /proc/cpuinfo flag check.
4eb1a6
ccd24f
* Fri Jul 27 2018 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-39
ccd24f
- Provide %attr for the ghosted /lib/firmware/intel-ucode.
539655
ccd24f
* Thu Jul 26 2018 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-38
539655
- Remove model name blacklists from caveats configuration files.
ccd24f
- Resolves: #1596627
539655
ccd24f
* Wed Jul 25 2018 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-37
539655
- Add model name blacklist infrastructure.
539655
- Store Intel ucode files in /usr/share/microcode_ctl; do not populate them
539655
  in a virtualised environment.
ccd24f
- Resolves: #1596627
539655
ccd24f
* Fri Jul 20 2018 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-35
ccd24f
- Add intel-microcode2ucode back
ccd24f
- Resolves: #1574582
ccd24f
ccd24f
* Fri Jul 20 2018 Eugene Syromiatnikov <esyr@redhat.com> - 2:2.1-34
ccd24f
- Update to upstream 2.1-18. Intel CPU microcode update to 20180703.
539655
- Add infrastructure for handling kernel-version-dependant microcode.
ccd24f
- Resolves: #1574582
539655
ccd24f
* Wed Jun 13 2018 Petr Oros <poros@redhat.com> - 2.1-33
ccd24f
- CVE-2018-3639 hw: cpu: speculative store bypass
ccd24f
- Resolves: #1495071
539655
ccd24f
* Mon Jun 11 2018 Petr Oros <poros@redhat.com> - 2.1-32
539655
- Fix: Operation not permitted when installing microcode_ctl
ccd24f
- Resolves: #1584247
539655
ccd24f
* Tue May 15 2018 Petr Oros <poros@redhat.com> - 2.1-31
080f4b
- Update disclaimer text
ccd24f
- Resolves: #1574574
080f4b
ccd24f
* Mon May 7 2018 Petr Oros <poros@redhat.com> - 2.1-30
080f4b
- Intel CPU microcode update to 20180425.
ccd24f
- Resolves: #1574574
080f4b
19486f
* Fri Jan 12 2018 Petr Oros <poros@redhat.com> - 2.1-29
5db210
- Revert Microcode from Intel for Side Channel attack
19486f
- Resolves: #1533939
5db210
19486f
* Fri Jan 12 2018 Petr Oros <poros@redhat.com> - 2.1-29
5db210
- Don't run dracut if not on a live system
19486f
- Resolves: #1530400
19486f
19486f
* Tue Jan 9 2018 Petr Oros <poros@redhat.com> - 2.1-28
19486f
- Remove old binary tool
19486f
- Resolves: #1527360
19486f
19486f
* Tue Jan 9 2018 Petr Oros <poros@redhat.com> - 2.1-27
19486f
- Update to upstream 2.1-15. Intel CPU microcode update to 20180108.
19486f
- Resolves: #1527360
5db210
19486f
* Fri Dec 15 2017 Petr Oros <poros@redhat.com> - 2.1-26
8e8f98
- Update Intel CPU microde for 06-3f-02, 06-4f-01, and 06-55-04
19486f
- Resolves: #1527360
19486f
19486f
* Wed Nov 22 2017 Petr Oros <poros@redhat.com> - 2.1-25
19486f
- Update to upstream 2.1-14. Intel CPU microcode update to 20171117.
19486f
- Resolves: #1457522
19486f
19486f
* Tue Oct 17 2017 Petr Oros <poros@redhat.com> - 2.1-24
19486f
- Fix upstream URL
19486f
- Resolves: #1502360
8e8f98
19486f
* Fri Jul 14 2017 Petr Oros <poros@redhat.com> - 2.1-23
8e8f98
- Update to upstream 2.1-13. Intel CPU microcode update to 20170707.
19486f
- Resolves: #1457522
8e8f98
2a4399
* Wed May 24 2017 Petr Oros <poros@redhat.com> - 2.1-22
2a4399
- Update to upstream 2.1-12. Intel CPU microcode update to 20170511.
2a4399
- Resolves: #1384218
2a4399
2a4399
* Tue Mar 7 2017 Petr Oros <poros@redhat.com> - 2.1-21
2a4399
- Rpm scriptlets should only rebuild the current kernel's initrd.
2a4399
- Resolves: #1420180
2a4399
2a4399
* Wed Jan 18 2017 Petr Oros <poros@redhat.com> - 2.1-20
d60a12
- Fix issue with hot microcode cpu reload.
2a4399
- Resolves: #1411232
d60a12
2a4399
* Mon Jan 9 2017 Petr Oros <poros@redhat.com> - 2.1-19
d60a12
- Fix broken quoting in ExecStart line.
2a4399
- Resolves: #1411232
d60a12
2a4399
* Fri Dec 16 2016 Petr Oros <poros@redhat.com> - 2.1-18
8c144b
- Fix issue with hot microcode cpu reload.
2a4399
- Resolves: #1398698
2a4399
2a4399
* Wed Nov 30 2016 Petr Oros <poros@redhat.com> - 2.1-17
8c144b
- Move dracut call into posttrans phase.
2a4399
- Resolves: #1398698
8c144b
d29bfe
* Thu Jul 21 2016 Petr Oros <poros@redhat.com> - 2.1-16
d29bfe
- Update to upstream 2.1-10. Intel CPU microcode update to 20160714.
d29bfe
- Resolves: #1358047
d29bfe
d29bfe
* Wed Jun 29 2016 Petr Oros <poros@redhat.com> - 2.1-15
d29bfe
- Load CPU microcode update only on supproted systems.
d29bfe
- Resolves: #1307179
d29bfe
d29bfe
* Fri Jun 24 2016 Petr Oros <poros@redhat.com> - 2.1-14
d29bfe
- Update to upstream 2.1-9. Intel CPU microcode update to 20160607.
d29bfe
- Resolves: #1253106
d29bfe
d29bfe
* Thu May 19 2016 Petr Oros <poros@redhat.com> - 2.1-13
6bc9fc
- Run dracut -f for all kernels.
d29bfe
- Resolves: #1292158
6bc9fc
0cdd93
* Fri Jul 3 2015 Petr Oros <poros@redhat.com> - 2.1-12
0cdd93
- Update to upstream 2.1-7. Intel CPU microcode update to 20150121.
0cdd93
- Resolves: #1174983
0cdd93
0cdd93
* Fri Oct 10 2014 Petr Oros <poros@redhat.com> - 2.1-11
0cdd93
- Run dracut -f after install microcode for update initramfs.
0cdd93
- Resolves: #1151192
0cdd93
873caf
* Tue Sep 30 2014 Petr Oros <poros@redhat.com> - 2.1-10
873caf
- Update to upstream 2.1-6. Intel CPU microcode update to 20140913.
873caf
- Resolves: #1142302
873caf
873caf
* Tue Jul 15 2014 Petr Oros <poros@redhat.com> - 2.1-9
726ba7
- Update to upstream 2.1-5. Intel CPU microcode update to 20140624.
873caf
- Resolves: #1113396
873caf
873caf
* Tue Jun 3 2014 Petr Oros <poros@redhat.com> - 2.1-8
873caf
- Fix bogus time in changelog
873caf
- Resolves: #1085117
726ba7
873caf
* Tue Jun 3 2014 Petr Oros <poros@redhat.com> - 2.1-8
d25c9d
- Update to upstream 2.1-4. Intel CPU microcode update to 20140430.
873caf
- Resolves: #1085117
d25c9d
e4b344
* Wed Mar 12 2014 Anton Arapov <anton@redhat.com> - 2.1-7.1
e4b344
- Fix the microcode's behaviour in virtual environment.
e4b344
e4b344
* Fri Feb 28 2014 Anton Arapov <anton@redhat.com> - 2.1-7
e4b344
- Fix the microcode's dracut configuration file location. 
e4b344
e4b344
* Tue Feb 18 2014 Anton Arapov <anton@redhat.com> - 2.1-6
e4b344
- Enable early microcode capabilities. Systemd and Dracut support. (Jeff Bastian)
e4b344
e4b344
* Fri Jan 24 2014 Anton Arapov <anton@redhat.com> - 2.1-5
e4b344
- Update to upstream 2.1-3. Intel CPU microcode update to 20140122.
e4b344
e4b344
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2:2.1-4
e4b344
- Mass rebuild 2013-12-27
e4b344
ea6c69
* Mon Sep 09 2013 Anton Arapov <anton@redhat.com> 2.1-3
ea6c69
- Imported to RHEL tree
ea6c69
ea6c69
* Mon Sep 09 2013 Anton Arapov <anton@redhat.com> 2.1-2
ea6c69
- Update to upstream 2.1-2.
ea6c69
ea6c69
* Wed Aug 14 2013 Anton Arapov <anton@redhat.com> 2.1-1
ea6c69
- Update to upstream 2.1-1.
ea6c69
ea6c69
* Sat Jul 27 2013 Anton Arapov <anton@redhat.com> 2.1-0
ea6c69
- Update to upstream 2.1. AMD microcode has been removed, find it in linux-firmware.
ea6c69
ea6c69
* Wed Apr 03 2013 Anton Arapov <anton@redhat.com> 2.0-3.1
ea6c69
- Update to upstream 2.0-3
ea6c69
ea6c69
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.0-3
ea6c69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ea6c69
ea6c69
* Wed Oct 17 2012 Anton Arapov <anton@redhat.com> 2.0-2
ea6c69
- Update to upstream 2.0-2
ea6c69
ea6c69
* Tue Oct 02 2012 Anton Arapov <anton@redhat.com> 2.0-1
ea6c69
- Update to upstream 2.0-1
ea6c69
ea6c69
* Mon Aug 06 2012 Anton Arapov <anton@redhat.com> 2.0
ea6c69
- Update to upstream 2.0
ea6c69
ea6c69
* Wed Jul 25 2012 Anton Arapov <anton@redhat.com> 1.18-1
ea6c69
- Update to upstream 1.18
ea6c69
ea6c69
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.17-26
ea6c69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ea6c69
ea6c69
* Thu Jun 07 2012 Anton Arapov <anton@redhat.com> 1.17-25
ea6c69
- Update to microcode-20120606.dat
ea6c69
ea6c69
* Tue Feb 07 2012 Anton Arapov <anton@redhat.com> 1.17-24
ea6c69
- Update to amd-ucode-2012-01-17.tar
ea6c69
ea6c69
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.17-22
ea6c69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ea6c69
ea6c69
* Thu Dec 22 2011 Anton Arapov <anton@redhat.com> 1.17-21
ea6c69
- Fix a segfault that may be triggered by very long parameter [#768803]
ea6c69
ea6c69
* Tue Dec 13 2011 Anton Arapov <anton@redhat.com> 1.17-20
ea6c69
- Update to microcode-20111110.dat
ea6c69
ea6c69
* Tue Sep 27 2011 Anton Arapov <anton@redhat.com> 1.17-19
ea6c69
- Update to microcode-20110915.dat
ea6c69
ea6c69
* Thu Aug 04 2011 Anton Arapov <anton@redhat.com> 1.17-18
ea6c69
- Ship splitted microcode for Intel CPUs [#690930]
ea6c69
- Include tool for splitting microcode for Intl CPUs (Kay Sievers )
ea6c69
ea6c69
* Thu Jun 30 2011 Anton Arapov <anton@redhat.com> 1.17-17
ea6c69
- Fix udev rules (Dave Jones ) [#690930]
ea6c69
ea6c69
* Thu May 12 2011 Anton Arapov <anton@redhat.com> 1.17-14
ea6c69
- Update to microcode-20110428.dat
ea6c69
ea6c69
* Thu Mar 24 2011 Anton Arapov <anton@redhat.com> 1.17-13
ea6c69
- fix memory leak.
ea6c69
ea6c69
* Mon Mar 07 2011 Anton Arapov <anton@redhat.com> 1.17-12
ea6c69
- Update to amd-ucode-2011-01-11.tar
ea6c69
ea6c69
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.17-11
ea6c69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ea6c69
ea6c69
* Wed Jan 19 2011 Anton Arapov <anton@redhat.com> 1.17-10
ea6c69
- manpage fix (John Bradshaw ) [#670879]
ea6c69
ea6c69
* Wed Jan 05 2011 Anton Arapov <anton@redhat.com> 1.17-9
ea6c69
- Update to microcode-20101123.dat
ea6c69
ea6c69
* Mon Nov 01 2010 Anton Arapov <anton@redhat.com> 1.17-8
ea6c69
- Update to microcode-20100914.dat
ea6c69
ea6c69
* Wed Sep 29 2010 jkeating - 1:1.17-7
ea6c69
- Rebuilt for gcc bug 634757
ea6c69
ea6c69
* Wed Sep 15 2010 Anton Arapov <anton@redhat.com> 1.17-6
ea6c69
- Update to microcode-20100826.dat
ea6c69
ea6c69
* Tue Sep 07 2010 Toshio Kuratomi <toshio@fedoraproject.org> 1.17-5
ea6c69
- Fix license tag: bz#450491
ea6c69
ea6c69
* Fri Aug 27 2010 Dave Jones <davej@redhat.com> 1.17-4
ea6c69
- Update to microcode-20100826.dat
ea6c69
ea6c69
* Tue Mar 23 2010 Anton Arapov <anton@redhat.com> 1.17-3
ea6c69
- Fix the udev rules (Harald Hoyer )
ea6c69
ea6c69
* Mon Mar 22 2010 Anton Arapov <anton@redhat.com> 1.17-2
ea6c69
- Make microcode_ctl event driven (Bill Nottingham ) [#479898]
ea6c69
ea6c69
* Thu Feb 11 2010 Dave Jones <davej@redhat.com> 1.17-1.58
ea6c69
- Update to microcode-20100209.dat
ea6c69
ea6c69
* Fri Dec 04 2009 Kyle McMartin <kyle@redhat.com> 1.17-1.57
ea6c69
- Fix duplicate message pointed out by Edward Sheldrake.
ea6c69
ea6c69
* Wed Dec 02 2009 Kyle McMartin <kyle@redhat.com> 1.17-1.56
ea6c69
- Add AMD x86/x86-64 microcode. (Dated: 2009-10-09)
ea6c69
  Doesn't need microcode_ctl modifications as it's loaded by
ea6c69
  request_firmware() like any other sensible driver.
ea6c69
- Eventually, this AMD firmware can probably live inside
ea6c69
  kernel-firmware once it is split out.
ea6c69
ea6c69
* Wed Sep 30 2009 Dave Jones <davej@redhat.com>
ea6c69
- Update to microcode-20090927.dat
ea6c69
ea6c69
* Fri Sep 11 2009 Dave Jones <davej@redhat.com>
ea6c69
- Remove some unnecessary code from the init script.
ea6c69
ea6c69
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.17-1.52.1
ea6c69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ea6c69
ea6c69
* Thu Jun 25 2009 Dave Jones <davej@redhat.com>
ea6c69
- Shorten sleep time during init.
ea6c69
  This really needs to be replaced with proper udev hooks, but this is
ea6c69
  a quick interim fix.
ea6c69
ea6c69
* Wed Jun 03 2009 Kyle McMartin <kyle@redhat.com> 1:1.17-1.50
ea6c69
- Change ExclusiveArch to i586 instead of i386. Resolves rhbz#497711.
ea6c69
ea6c69
* Wed May 13 2009 Dave Jones <davej@redhat.com>
ea6c69
- update to microcode 20090330
ea6c69
ea6c69
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.17-1.46.1
ea6c69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ea6c69
ea6c69
* Fri Sep 12 2008 Dave Jones <davej@redhat.com>
ea6c69
- update to microcode 20080910
ea6c69
ea6c69
* Tue Apr 01 2008 Jarod Wilson <jwilson@redhat.com>
ea6c69
- Update to microcode 20080401
ea6c69
ea6c69
* Sat Mar 29 2008 Dave Jones <davej@redhat.com>
ea6c69
- Update to microcode 20080220
ea6c69
- Fix rpmlint warnings in specfile.
ea6c69
ea6c69
* Mon Mar 17 2008 Dave Jones <davej@redhat.com>
ea6c69
- specfile cleanups.
ea6c69
ea6c69
* Fri Feb 22 2008 Jarod Wilson <jwilson@redhat.com>
ea6c69
- Use /lib/firmware instead of /etc/firmware
ea6c69
ea6c69
* Wed Feb 13 2008 Jarod Wilson <jwilson@redhat.com>
ea6c69
- Fix permissions on microcode.dat
ea6c69
ea6c69
* Thu Feb 07 2008 Jarod Wilson <jwilson@redhat.com>
ea6c69
- Spec cleanup and macro standardization.
ea6c69
- Update license
ea6c69
- Update microcode data file to 20080131 revision.
ea6c69
ea6c69
* Mon Jul  2 2007 Dave Jones <davej@redhat.com>
ea6c69
- Update to upstream 1.17
ea6c69
ea6c69
* Thu Oct 12 2006 Jon Masters <jcm@redhat.com>
ea6c69
- BZ209455 fixes.
ea6c69
ea6c69
* Mon Jul 17 2006 Jesse Keating <jkeating@redhat.com>
ea6c69
- rebuild
ea6c69
ea6c69
* Fri Jun 16 2006 Bill Nottingham <notting@redhat.com>
ea6c69
- remove kudzu requirement
ea6c69
- add prereq for coreutils, awk, grep
ea6c69
ea6c69
* Thu Feb 09 2006 Dave Jones <davej@redhat.com>
ea6c69
- rebuild.
ea6c69
ea6c69
* Fri Jan 27 2006 Dave Jones <davej@redhat.com>
ea6c69
- Update to upstream 1.13
ea6c69
ea6c69
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
ea6c69
- rebuilt for new gcj
ea6c69
ea6c69
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
ea6c69
- rebuilt
ea6c69
ea6c69
* Mon Nov 14 2005 Dave Jones <davej@redhat.com>
ea6c69
- initscript tweaks.
ea6c69
ea6c69
* Tue Sep 13 2005 Dave Jones <davej@redhat.com>
ea6c69
- Update to upstream 1.12
ea6c69
ea6c69
* Wed Aug 17 2005 Dave Jones <davej@redhat.com>
ea6c69
- Check for device node *after* loading the module. (#157672)
ea6c69
ea6c69
* Tue Mar  1 2005 Dave Jones <davej@redhat.com>
ea6c69
- Rebuild for gcc4
ea6c69
ea6c69
* Thu Feb 17 2005 Dave Jones <davej@redhat.com>
ea6c69
- s/Serial/Epoch/
ea6c69
ea6c69
* Tue Jan 25 2005 Dave Jones <davej@redhat.com>
ea6c69
- Drop the node creation/deletion change from previous release.
ea6c69
  It'll cause grief with selinux, and was a hack to get around
ea6c69
  a udev shortcoming that should be fixed properly.
ea6c69
ea6c69
* Fri Jan 21 2005 Dave Jones <davej@redhat.com>
ea6c69
- Create/remove the /dev/cpu/microcode dev node as needed.
ea6c69
- Use correct path again for the microcode.dat.
ea6c69
- Remove some no longer needed tests in the init script.
ea6c69
ea6c69
* Fri Jan 14 2005 Dave Jones <davej@redhat.com>
ea6c69
- Only enable microcode_ctl service if the CPU is capable.
ea6c69
- Prevent microcode_ctl getting restarted multiple times on initlevel change (#141581)
ea6c69
- Make restart/reload work properly
ea6c69
- Do nothing if not started by root.
ea6c69
ea6c69
* Wed Jan 12 2005 Dave Jones <davej@redhat.com>
ea6c69
- Adjust dev node location. (#144963)
ea6c69
ea6c69
* Tue Jan 11 2005 Dave Jones <davej@redhat.com>
ea6c69
- Load/Remove microcode module in initscript.
ea6c69
ea6c69
* Mon Jan 10 2005 Dave Jones <davej@redhat.com>
ea6c69
- Update to upstream 1.11 release.
ea6c69
ea6c69
* Sat Dec 18 2004 Dave Jones <davej@redhat.com>
ea6c69
- Initial packaging, based upon kernel-utils.
ea6c69