From: Daan De Meyer Date: Thu, 19 Jan 2023 14:29:57 +0000 (+0100) Subject: centos: Default to glibc-minimal-langpack on CentOS Stream 8 X-Git-Tag: v15~359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3c9244148e9cda72e8279fd0bb815827fe90bb5;p=thirdparty%2Fmkosi.git centos: Default to glibc-minimal-langpack on CentOS Stream 8 --- diff --git a/mkosi/distributions/centos.py b/mkosi/distributions/centos.py index 71e11d3d2..f4fb543bb 100644 --- a/mkosi/distributions/centos.py +++ b/mkosi/distributions/centos.py @@ -73,6 +73,11 @@ class CentosInstaller(DistributionInstaller): if state.config.distribution != Distribution.centos and release >= 9: add_packages(state.config, packages, "systemd-boot", conditional="systemd") + # Make sure we only install the minimal language files by default on CentOS Stream 8 which still + # defaults to all langpacks. + if release <= 8: + add_packages(state.config, packages, "glibc-minimal-langpack") + install_packages_dnf(state, packages) # On Fedora, the default rpmdb has moved to /usr/lib/sysimage/rpm so if that's the case we need to