forked from Mirror/pmbootstrap
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:
parent
50d2bb45f4
commit
745ee74138
1 changed files with 1 additions and 2 deletions
|
@ -1386,8 +1386,7 @@ def create_device_rootfs(args: PmbArgs, step: int, steps: int) -> None:
|
||||||
setup_timezone(chroot, config.timezone)
|
setup_timezone(chroot, config.timezone)
|
||||||
|
|
||||||
# Set locale
|
# Set locale
|
||||||
if config.locale != Config().locale:
|
setup_locale(chroot, config.locale)
|
||||||
setup_locale(chroot, config.locale)
|
|
||||||
|
|
||||||
# Set the hostname as the device name
|
# Set the hostname as the device name
|
||||||
setup_hostname(device, config.hostname)
|
setup_hostname(device, config.hostname)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue