Skip to content
Snippets Groups Projects
Verified Commit a1f39144 authored by Oliver Smith's avatar Oliver Smith Committed by Clayton Craft
Browse files

CI: test_kernel: skip linux-pam (MR 5070)

The linux-pam package is not a linux kernel :)
parent ab6e10e9
Branches
No related tags found
1 merge request!5859Draft: ElementaryOS pantheon desktop w/ systemd
......@@ -23,6 +23,9 @@ def test_aports_kernel():
apkbuild = pmb.parse.apkbuild(path)
aport_name = os.path.basename(os.path.dirname(path))
if aport_name == "linux-pam":
continue # This package isn't a linux kernel!
if "pmb:cross-native" not in apkbuild["options"]:
raise RuntimeError(f"{aport_name}: \"pmb:cross-native\" missing in"
" options= line")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment