Skip to content
Snippets Groups Projects
Unverified Commit 395ba733 authored by Oliver Smith's avatar Oliver Smith
Browse files

CI: test_kernel: skip linux-pam

The linux-pam package is not a linux kernel :)
parent 911372c8
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,9 @@ def test_aports_kernel(args):
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