From 8b9830c249796914c0c012b710b93bb1cec18044 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 9 May 2023 05:30:31 +0000 Subject: [PATCH] import microcode_ctl-20220809-2.el9 --- SPECS/microcode_ctl.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/SPECS/microcode_ctl.spec b/SPECS/microcode_ctl.spec index 0c3d35a..a896cd4 100644 --- a/SPECS/microcode_ctl.spec +++ b/SPECS/microcode_ctl.spec @@ -12,7 +12,7 @@ Summary: CPU microcode updates for Intel x86 processors Name: microcode_ctl Version: %{intel_ucode_version} -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 4 License: CC0 and Redistributable, no modification permitted URL: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files @@ -323,7 +323,7 @@ install -m 644 "%{SOURCE182}" "%{tgl_inst_dir}/disclaimer" # send the message to syslog, so it gets recorded on /var/log if [ -e /usr/bin/logger ]; then - %{check_caveats} -m -d | /usr/bin/logger -p syslog.notice -t DISCLAIMER + %{check_caveats} -m -d | /usr/bin/logger -p syslog.warning -t DISCLAIMER fi # also paste it over dmesg (some customers drop dmesg messages while # others keep them into /var/log for the later case, we'll have the @@ -434,7 +434,7 @@ rpm -qa --qf "${qf}" ${pkgs} | sort -r -n -k'3,3' | { done if [ -n "${skipped}" ]; then - skip_msg="After installation of a new version of microcode_ctl package, + skip_msg="<4>After installation of a new version of microcode_ctl package, initramfs hasn't been re-generated for all the installed kernel packages. The following kernel packages have been skipped:${skipped}. Please re-generate initramfs manually for these kernel packages with the @@ -443,7 +443,7 @@ Intel CPU microcode included into early initramfs image for it, if needed." if [ -e /usr/bin/logger ]; then echo "${skip_msg}" | - /usr/bin/logger -p syslog.notice -t microcode_ctl + /usr/bin/logger -p syslog.warning -t microcode_ctl fi if [ -e /dev/kmsg ]; then @@ -545,6 +545,10 @@ rm -rf %{buildroot} %changelog +* Tue Oct 25 2022 Eugene Syromiatnikov - 4:20220809-2 +- Change the logger severity level to warning to align with the kmsg one + (#2136506). + * Tue Aug 09 2022 Eugene Syromiatnikov - 4:20220809-1 - Update Intel CPU microcode to microcode-20220510 release, addresses CVE-2022-21233 (#2115663):