From d1dc06cd1f87480699d8a1725dea8e6f5cffd43f Mon Sep 17 00:00:00 2001 From: Aster Boese Date: Mon, 19 Jan 2026 21:24:24 -0500 Subject: [PATCH] ci: pytest: test_provides: ignore kernel fragments Kernel fragments are not packaged nor used for building the kernels, since only the full config is used at build-time. As such, they shouldn't be included in the checksums. Signed-off-by: Aster Boese Part-of: --- .ci/testcases/test_source.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.ci/testcases/test_source.py b/.ci/testcases/test_source.py index e7c990b43..ba061c091 100644 --- a/.ci/testcases/test_source.py +++ b/.ci/testcases/test_source.py @@ -101,6 +101,9 @@ def test_aports_unreferenced_files(): # Skip APKBUILDs and directories if rel_file_path in ["APKBUILD", "gitlab-ci.yml.j2"] or os.path.isdir(file): continue + # Skip kernel fragments in linux-* packages + if os.path.basename(rel_file_path).endswith(".config") and apkbuild["pkgname"].startswith("linux-"): + continue if os.path.basename(rel_file_path) not in sources_chk \ and rel_file_path not in apkbuild["install"] \