From df20b0c418e8420619c6a23b96922ac9754f8ccd Mon Sep 17 00:00:00 2001 From: Oliver Smith <ollieparanoid@postmarketos.org> Date: Thu, 25 Apr 2024 23:17:00 +0200 Subject: [PATCH] CI: test_kernel: skip linux-pam (MR 5070) The linux-pam package is not a linux kernel :) --- .ci/testcases/test_kernel.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.ci/testcases/test_kernel.py b/.ci/testcases/test_kernel.py index f52a680ce3e..647a8743e0d 100644 --- a/.ci/testcases/test_kernel.py +++ b/.ci/testcases/test_kernel.py @@ -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") -- GitLab