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 <asterboese@mailbox.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7798>
This commit is contained in:
parent
a99216d543
commit
d1dc06cd1f
1 changed files with 3 additions and 0 deletions
|
|
@ -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"] \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue