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

The linux-pam package is not a linux kernel :)
This commit is contained in:
Oliver Smith 2024-04-25 23:17:00 +02:00
parent 97917f060f
commit af660ec0dd
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -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")