From ddfde0aad8322f6d5d76a5e4cb68ded903754147 Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Sun, 7 Apr 2024 10:14:46 +0200 Subject: [PATCH] pregenerate all locales --- mkosi.postinst.chroot | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mkosi.postinst.chroot b/mkosi.postinst.chroot index 3493370..f2eec7f 100755 --- a/mkosi.postinst.chroot +++ b/mkosi.postinst.chroot @@ -20,6 +20,12 @@ mkdir -pv /efi/EFI/Linux /usr/lib/systemd/systemd-sysupdate --verify=no list # verify=no because we only care if the configs are valid 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 +locale-gen + +# Install build and runtime dependencies pacman --sync --refresh pacman --sync --noconfirm git base-devel cmake yaml-cpp boost-libs boost dosfstools btrfs-progs # NOTE: plasma-workspace depends on phonon (to build integration plugins **for** phonon) but doesn't actually