Speed up build by limiting generated locales to the UTF-8 variants because Qt...

This commit is contained in:
Lasath Fernando
2024-10-04 11:03:22 +00:00
committed by Harald Sitter
parent b21dac4a3c
commit 60924d05aa

View File

@@ -22,7 +22,8 @@ rm -rfv /efi/
# Generate all locales. Because /usr/lib is not writable in the target system we need to ship all locales pre-generated.
# Sucks. But oh well.
cat /usr/share/i18n/SUPPORTED > /etc/locale.gen
# We can at least limit to UTF-8 variants because nobody uses the rest and Qt doesn't even work with them.
grep UTF-8 /usr/share/i18n/SUPPORTED > /etc/locale.gen
locale-gen
# Install build and runtime dependencies