From 1df50e662473adfd9aa5806512db493b8f08ca99 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Feb 24 2021 16:13:37 +0000 Subject: Add spec-file for the distribution --- diff --git a/SPECS/microcode_ctl.spec b/SPECS/microcode_ctl.spec index 826f1d7..bff2626 100644 --- a/SPECS/microcode_ctl.spec +++ b/SPECS/microcode_ctl.spec @@ -1,4 +1,4 @@ -%define intel_ucode_version 20201112 +%define intel_ucode_version 20210216 %global debug_package %{nil} %define caveat_dir %{_datarootdir}/microcode_ctl/ucode_with_caveats @@ -33,6 +33,11 @@ Source5: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Fi Source6: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-20190918.tar.gz # microcode-20191115 release,containing revision 0xca of 06-[89]e-0X microcode Source7: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-20191115.tar.gz +# microcode-20201118 has removed 06-8c-01/0x80 (TGL-UP3/UP4 B1) microcode update +# at revision 0x68; it is, however, may still be useful for some[1], so it is +# to be preserved in a caveat. +# [1] https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/issues/39 +Source8: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/raw/microcode-20201112/intel-ucode/06-8c-01 # systemd unit @@ -117,9 +122,9 @@ Source181: 06-8c-01_config Source182: 06-8c-01_disclaimer # "Provides:" RPM tags generator -Source200: gen_provides.sh -Source201: codenames.list -Source202: gen_updates2.py +Source1000: gen_provides.sh +Source1001: codenames.list +Source1002: gen_updates2.py ExclusiveArch: %{ix86} x86_64 BuildRequires: systemd-units @@ -132,7 +137,7 @@ Requires(postun): systemd coreutils Requires(posttrans): dracut coreutils %global _use_internal_dependency_generator 0 -%define __find_provides "%{SOURCE200}" "%{SOURCE201}" +%define __find_provides "%{SOURCE1000}" "%{SOURCE1001}" %description This package provides microcode update files for Intel x86 and x86_64 CPUs. @@ -177,7 +182,7 @@ tar xvvf "%{SOURCE7}" --wildcards --strip-components=2 \ popd # Moving 06-8c-01 microcode to intel-ucode-with-caveats -mv intel-ucode/06-8c-01 intel-ucode-with-caveats/ +cp "%{SOURCE8}" intel-ucode-with-caveats/ : @@ -309,7 +314,7 @@ install -m 644 "%{SOURCE182}" "%{tgl_inst_dir}/disclaimer" # SUMMARY.intel-ucode generation # It is to be done only after file population, so, it is here, # at the end of the install stage -/usr/libexec/platform-python "%{SOURCE202}" -C "%{SOURCE201}" \ +/usr/libexec/platform-python "%{SOURCE1002}" -C "%{SOURCE1001}" \ summary -A "%{buildroot}" \ > "%{buildroot}/%{_pkgdocdir}/SUMMARY.intel-ucode" @@ -543,6 +548,19 @@ rm -rf %{buildroot} %changelog +* Wed Feb 17 2021 Eugene Syromiatnikov - 4:20200609-2.20210216.1 +- Update Intel CPU microcode to microcode-20210216 release (#1907898): + - Update of 06-55-04/0xb7 (SKX-D/SP/W/X H0/M0/M1/U0) microcode (in + intel-06-55-04/intel-ucode/06-55-04) from revision 0x2006a08 up + to 0x2006a0a; + - Update of 06-55-06/0xbf (CLX-SP B0) microcode from revision 0x4003003 + up to 0x4003006; + - Update of 06-55-07/0xbf (CLX-SP/W/X B1/L1) microcode from revision + 0x5003003 up to 0x5003006. + +* Wed Feb 17 2021 Eugene Syromiatnikov - 4:20200609-2.20201112.2 +- Do not use "grep -q" in a pipe in check_caveats (#1902021). + * Fri Nov 13 2020 Eugene Syromiatnikov - 4:20200609-2.20201112.1 - Update Intel CPU microcode to microcode-20201112 release (#1897187): - Addition of 06-8a-01/0x10 (LKF B2/B3) microcode at revision 0x28;