From: Daan De Meyer Date: Sun, 3 Dec 2023 08:18:54 +0000 (+0100) Subject: mkosi-initrd: Configure locale to C.UTF-8 X-Git-Tag: v20~114^2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3613c5d85d23cd953bc3510ee10c500d208eec1;p=thirdparty%2Fmkosi.git mkosi-initrd: Configure locale to C.UTF-8 This will make sure all other locale data is strippped out on rpm based distributions. --- diff --git a/mkosi-initrd/mkosi.conf b/mkosi-initrd/mkosi.conf index 94764c865..fc862f913 100644 --- a/mkosi-initrd/mkosi.conf +++ b/mkosi-initrd/mkosi.conf @@ -34,6 +34,9 @@ RemoveFiles= /usr/lib/modules/*/vmlinuz /usr/lib/modules/*/System.map +# Configure locale explicitly so that all other locale data is stripped on distros whose package manager supports it. +Locale=C.UTF-8 + # Make sure various core modules are always included in the initrd. KernelModulesInclude= btrfs