pmb.install._install: install locale config on default lang aswell

Reduces complexity allows applications and users to have a single source
of truth without involving /etc/profile.d/..

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2547
This commit is contained in:
fossdd 2025-02-04 20:02:51 +01:00 committed by Oliver Smith
parent 50d2bb45f4
commit 745ee74138
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -1386,7 +1386,6 @@ def create_device_rootfs(args: PmbArgs, step: int, steps: int) -> None:
setup_timezone(chroot, config.timezone)
# Set locale
if config.locale != Config().locale:
setup_locale(chroot, config.locale)
# Set the hostname as the device name