repo_missing: set try_other_arches to False

Don't attempt to find packages of other arches in repo_missing code.
This leads to unexpected results in general (we want to check if a
binary package exists for only one specific architecture!) - and in case
of master_staging_systemd, it current causes errors because pmbootstrap
tries to fetch armhf, riscv etc. APKINDEXes for which we don't build the
staging repositories.
This commit is contained in:
Oliver Smith 2024-09-22 15:30:29 +02:00
parent 476976ba14
commit b25fa5a854
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -108,7 +108,7 @@ def generate_output_format(arch, pkgnames):
"""
ret = []
for pkgname in pkgnames:
entry = pmb.helpers.package.get(pkgname, arch, True)
entry = pmb.helpers.package.get(pkgname, arch, True, try_other_arches=False)
ret += [
{
"pkgname": entry["pkgname"],