CI: test_aports_ui: don't take arches from binary (MR 1508)
Verify _pmb_recommends for architectures listed in the APKBUILD of postmarketos-ui-* packages, not from their binary packages. Otherwise disabling an architecture in a merge request will not be respected, as the binary package still has the arch enabled.
This commit is contained in:
parent
ae3ea00c88
commit
cedd5331e5
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ def test_aports_ui(args):
|
|||
for path in glob.iglob(args.aports + "/main/postmarketos-ui-*/APKBUILD"):
|
||||
apkbuild = pmb.parse.apkbuild(args, path)
|
||||
# Skip if arch isn't enabled
|
||||
if not pmb.helpers.package.check_arch(args, apkbuild["pkgname"], arch):
|
||||
if not pmb.helpers.package.check_arch(args, apkbuild["pkgname"], arch, False):
|
||||
continue
|
||||
|
||||
for package in apkbuild["_pmb_recommends"]:
|
||||
|
|
Loading…
Add table
Reference in a new issue