pmbootstrap-meow/pmb/config
Caleb Connolly 01b53b0b49
config: init: set aports when non-default work dir is picked (MR 2366)
If you init and set a custom work dir it will not be relative to
pmaports anymore. Detect this and reset config.aports to be relative to
the new workdir.

Fixes #2406

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-07-13 18:49:22 +02:00
..
__init__.py build: package: properly ensure build-base packages are built first (MR 2363) 2024-07-12 00:37:12 +02:00
file.py Use pmbootstrap_v3.cfg as config file (MR 2350) 2024-07-10 20:06:25 +02:00
init.py config: init: set aports when non-default work dir is picked (MR 2366) 2024-07-13 18:49:22 +02:00
other.py meta: introduce a Cache decorator (MR 2252) 2024-06-23 12:38:39 +02:00
pmaports.py ruff: format (MR 2344) 2024-07-08 16:09:42 +02:00
sudo.py Use simplified Python 3.8 syntax (MR 2327) 2024-06-23 19:13:52 +02:00
test_config_serde.py Use pmbootstrap_v3.cfg as config file (MR 2350) 2024-07-10 20:06:25 +02:00
workdir.py Use pmbootstrap_v3.cfg as config file (MR 2350) 2024-07-10 20:06:25 +02:00