Skip to content
Snippets Groups Projects
Verified Commit df20b0c4 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 30b29f54
No related branches found
No related tags found
No related merge requests found
......@@ -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.
Finish editing this message first!
Please register or to comment