pmbootstrap-meow/pmb/core
Oliver Smith 591a737733
Support setting custom mirrors + disabling mirrors (MR 2361)
Allow setting _custom mirrors in the config:
* alpine_custom
* pmaports_custom
* systemd_custom

When these are set, they are added to /etc/apk/repositories before real
repositories. This is used by bpo to build packages with a WIP
repository enabled, in addition to the final repository.

All mirrors can also be set to "none" to be disabled. This is important
for bootstrapping from pure Alpine without any binary repository, and
the bpo testsuite also uses this.

I've discussed with Caleb whether to name it _wip instead of _custom,
but the latter is more generic and people may also use this for other
use cases than the bpo wip repository thing.
2024-07-16 00:34:06 +02:00
..
__init__.py core: don't re-export get_context (MR 2252) 2024-06-23 12:38:40 +02:00
arch.py Ruff: fix typing.Xxx is deprecated, use xxx instead (MR 2327) 2024-06-23 19:13:57 +02:00
chroot.py core: chroot: validate name for rootfs chroot (MR 2332) 2024-06-30 17:51:45 +02:00
config.py Support setting custom mirrors + disabling mirrors (MR 2361) 2024-07-16 00:34:06 +02:00
context.py treewide: drop context.device (MR 2332) 2024-06-30 17:51:45 +02:00
crosstool.py Ruff: fix typing.Xxx is deprecated, use xxx instead (MR 2327) 2024-06-23 19:13:57 +02:00
pkgrepo.py Run ruff check --fix (MR 2357) 2024-07-16 00:26:35 +02:00
test_arch.py Auto-format codebase with ruff (MR 2325) 2024-06-23 15:40:13 +02:00
test_chroot.py Auto-format codebase with ruff (MR 2325) 2024-06-23 15:40:13 +02:00
test_pkgrepo.py Auto-format codebase with ruff (MR 2325) 2024-06-23 15:40:13 +02:00