diff --git a/check_caveats b/check_caveats index b821160..38b5923 100755 --- a/check_caveats +++ b/check_caveats @@ -5,6 +5,8 @@ # # SPDX-License-Identifier: CC0-1.0 +export LC_ALL=C + : ${MC_CAVEATS_DATA_DIR=/usr/share/microcode_ctl/ucode_with_caveats} : ${FW_DIR=/lib/firmware} : ${CFG_DIR=/etc/microcode_ctl/ucode_with_caveats} diff --git a/microcode_ctl.spec b/microcode_ctl.spec index 6dcfb00..57419a6 100644 --- a/microcode_ctl.spec +++ b/microcode_ctl.spec @@ -13,7 +13,7 @@ Summary: CPU microcode updates for Intel x86 processors Name: microcode_ctl Version: %{intel_ucode_version} -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 4 License: CC0 and Redistributable, no modification permitted URL: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files @@ -544,6 +544,10 @@ rm -rf %{buildroot} %changelog +* Wed Jun 28 2023 Eugene Syromiatnikov - 4:20230214-3 +- Force locale to C in check_caveats, reload_microcode, and update_ucode + (#2218096). + * Tue Jun 06 2023 Eugene Syromiatnikov - 4:20230214-2 - Cleanup the dangling symlinks in update_ucode (#2135376). diff --git a/reload_microcode b/reload_microcode index 5d4d1b1..978f939 100644 --- a/reload_microcode +++ b/reload_microcode @@ -5,6 +5,8 @@ # # SPDX-License-Identifier: CC0-1.0 +export LC_ALL=C + CHECK_CAVEATS=/usr/libexec/microcode_ctl/check_caveats IGNORE_HYPERVISOR="/etc/microcode_ctl/ignore-hypervisor-flag" diff --git a/update_ucode b/update_ucode index 57705e0..932cff7 100644 --- a/update_ucode +++ b/update_ucode @@ -5,6 +5,8 @@ # # SPDX-License-Identifier: CC0-1.0 +export LC_ALL=C + usage() { echo "Usage: update_ucode [--action {add|remove|refresh|list}]" \