forked from Mirror/pmbootstrap
pmb.install._install: remove installation of lang
lang gets moved to `_pmb_recommends` of postmarketos-base-ui to allow switching between languages on en_US devices Closes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3314 Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2547
This commit is contained in:
parent
ca1f87b873
commit
9656c53a6a
1 changed files with 1 additions and 4 deletions
|
@ -1332,9 +1332,6 @@ def create_device_rootfs(args: PmbArgs, step: int, steps: int) -> None:
|
|||
install_packages += context.config.extra_packages.split(",")
|
||||
if args.add:
|
||||
install_packages += args.add.split(",")
|
||||
locale_is_set = config.locale != Config().locale
|
||||
if locale_is_set:
|
||||
install_packages += ["lang"]
|
||||
|
||||
pmaports_cfg = pmb.config.pmaports.read_config()
|
||||
# postmarketos-base supports a dummy package for blocking unl0kr install
|
||||
|
@ -1387,7 +1384,7 @@ def create_device_rootfs(args: PmbArgs, step: int, steps: int) -> None:
|
|||
setup_timezone(chroot, config.timezone)
|
||||
|
||||
# Set locale
|
||||
if locale_is_set:
|
||||
if config.locale != Config().locale:
|
||||
setup_locale(chroot, config.locale)
|
||||
|
||||
# Set the hostname as the device name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue