Setup C.UTF-8 as a RPM install lang in yum-minimal
The yum-minimal element was configuring C, en_US, and en_US.UTF-8 as languages to be installed by packages notably leaving out C.UTF-8. This appears to be due to CentOS 7 not supporting C.UTF-8 (its glibc was too old). Since then CentOS 8, CentOS 8 Stream, and CentOS 9 Stream all reportedly support C.UTF-8. Since we don't support CentOS 7 any longer it should be safe to update yum-minimal to include C.UTF-8. This ensures we have modern C locales available for use which are starting to be expected (for example Ansible apparently wants a UTF8 locale and some hardcode it to use C.UTF-8). Change-Id: I0446def63ea0fbf6bb53a0cc56c2d62f47e0ff21
This commit is contained in:
parent
527f049a31
commit
bea96e613e
@ -325,7 +325,7 @@ _run_chroot rpm --rebuilddb
|
||||
_run_chroot ${YUM} clean all
|
||||
|
||||
# populate the lang reduction macro in the chroot
|
||||
echo "%_install_langs C:en_US:en_US.UTF-8" | \
|
||||
echo "%_install_langs C:C.UTF-8:en_US:en_US.UTF-8" | \
|
||||
sudo tee -a $TARGET_ROOT/etc/rpm/macros.langs > /dev/null
|
||||
|
||||
_base_packages="systemd passwd findutils sudo util-linux-ng "
|
||||
|
Loading…
Reference in New Issue
Block a user