]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
mkosi-initrd: Configure locale to C.UTF-8
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 3 Dec 2023 08:18:54 +0000 (09:18 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 4 Dec 2023 13:21:46 +0000 (14:21 +0100)
This will make sure all other locale data is strippped out on rpm
based distributions.

mkosi-initrd/mkosi.conf

index 94764c865ce4cfd47a37caa37ce69b2e6b9c7a28..fc862f9135729cf82a3516422b01d7b7bf3c1511 100644 (file)
@@ -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