forked from Mirror/pmbootstrap
repo: use new config.mirrors (MR 2252)
Use the new config.mirrors section to handle repository URLs instead of the old mirror_alpine / mirrors_postmarketos options. This let's us add the systemd staging repo automatically when on the systemd staging branch / systemd is enabled. Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
1a01738d50
commit
133091248f
5 changed files with 51 additions and 40 deletions
|
@ -106,7 +106,7 @@ def auto(args: PmbArgs, dry=False):
|
|||
""":returns: list of aport names, where the pkgrel needed to be changed"""
|
||||
ret = []
|
||||
for arch in Arch.supported():
|
||||
paths = pmb.helpers.repo.apkindex_files(args, arch, alpine=False)
|
||||
paths = pmb.helpers.repo.apkindex_files(arch, exclude_mirrors=["alpine"])
|
||||
for path in paths:
|
||||
logging.info(f"scan {path}")
|
||||
index = pmb.parse.apkindex.parse(path, False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue