pmbootstrap-meow/pmb
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
..
aportgen init: fix bootimg_analyze step (MR 2358) 2024-07-09 17:21:44 +03:00
build build: package: properly ensure build-base packages are built first (MR 2363) 2024-07-12 00:37:12 +02:00
chroot chroot: apk: add quiet option (MR 2363) 2024-07-12 00:37:12 +02:00
ci Auto-format codebase with ruff (MR 2325) 2024-06-23 15:40:13 +02:00
commands treewide: another round of mypy fixes (MR 2344) 2024-07-08 16:01:13 +02:00
config config: init: set aports when non-default work dir is picked (MR 2366) 2024-07-13 18:49:22 +02:00
core core: chroot: validate name for rootfs chroot (MR 2332) 2024-06-30 17:51:45 +02:00
data Use pmbootstrap_v3.cfg as config file (MR 2350) 2024-07-10 20:06:25 +02:00
export treewide: drop context.device (MR 2332) 2024-06-30 17:51:45 +02:00
flasher treewide: drop context.device (MR 2332) 2024-06-30 17:51:45 +02:00
helpers Use pmbootstrap_v3.cfg as config file (MR 2350) 2024-07-10 20:06:25 +02:00
install ruff: format (MR 2344) 2024-07-08 16:09:42 +02:00
meta ruff: format (MR 2344) 2024-07-08 16:09:42 +02:00
netboot Auto-format codebase with ruff (MR 2325) 2024-06-23 15:40:13 +02:00
parse Refactor bootimg_analyze (MR 2359) 2024-07-11 21:54:53 +02:00
qemu Ruff: fix typing.Xxx is deprecated, use xxx instead (MR 2327) 2024-06-23 19:13:57 +02:00
sideload Ruff: fix typing.Xxx is deprecated, use xxx instead (MR 2327) 2024-06-23 19:13:57 +02:00
__init__.py Tweak errors for missing config/work dir (MR 2350) 2024-07-10 20:06:25 +02:00
conftest.py Use pmbootstrap_v3.cfg as config file (MR 2350) 2024-07-10 20:06:25 +02:00
types.py pmb.types: fix aports not being a list (MR 2342) 2024-07-02 17:40:35 +02:00