pmbootstrap-meow/pmb/install
fossdd 50d2bb45f4
pmb.install._install: write lang configuration to /etc/locale.conf
Previous reasons to write the locales to /etc/profile.d/.. was because
musl-locales do only support reading from environment variables and not
/etc/locale.conf.

However systemd-localed (and glibc) uses /etc/locale.conf to read and
write locale configurations. gnome-control-center, for example, uses
localed to change locales.

In the sake of a single source of truth, allow pmb to write to
/etc/locale.conf and allow its consumers (e.g. g-c-c via systemd) to
read/change these variables.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2547
2025-04-03 22:58:29 +02:00
..
__init__.py pmb: Use explicit re-exports (MR 2545) 2025-02-23 11:40:44 +01:00
_install.py pmb.install._install: write lang configuration to /etc/locale.conf 2025-04-03 22:58:29 +02:00
blockdevice.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00
format.py pmb.install.format: add support for setting FDE passphrase 2025-03-14 09:45:04 -07:00
losetup.py pmb.install.losetup: Remove unnecessary range start (MR 2537) 2025-02-02 22:48:50 +01:00
partition.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00
recovery.py pmb: Add lots of type hints (MR 2464) 2024-10-30 12:39:45 +01:00
ui.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00