pmb/helpers/pmaports: fix finding subpackages (!1890)

Fix finding subpackages in pmaports, if no binary repo exists (-mp "" makes
pmbootstrap not use a binary packages mirror for pmOS packages). Discovered
with failing "test_depends_SLOW_40s" in bpo.

$ pmbootstrap -v -mp "" repo_missing --built --arch x86_64
[18:40:51] Calculate packages that need to be built (all packages, x86_64)
[18:40:56] ERROR: Package 'musl-dev-aarch64': Could not find aport, and could not find this package in any APKINDEX!
This commit is contained in:
Oliver Smith 2020-03-09 18:40:31 +01:00
parent 8edb136729
commit f1cfd029d6
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 0 additions and 1 deletions

View File

@ -116,7 +116,6 @@ def find(args, package, must_exist=True):
# Subpackages
if package in apkbuild["subpackages"]:
found = True
break
# Provides (cut off before equals sign for entries like
# "mkbootimg=0.0.1")