CI: require pmb:kconfigcheck-community for community/main devices (MR 3422)

Since nftables check is a part of community check, we can safely remove
the explicit nftables check.

[ci:skip-build]
This commit is contained in:
Luca Weiss 2022-09-11 21:15:37 +02:00 committed by Oliver Smith
parent 2c58ce8e45
commit a1a2f80a51
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB

View File

@ -34,9 +34,9 @@ def test_aports_kernel(args):
" pmbootstrap installs cross-compiler" " pmbootstrap installs cross-compiler"
" automatically.") " automatically.")
# nftables support in kernels used by main and community devices # check some options only for main and community devices
for dir in ["main", "device/main", "device/community"]: for dir in ["main", "device/main", "device/community"]:
if path.startswith(f"{args.aports}/{dir}"): if path.startswith(f"{args.aports}/{dir}"):
assert pmb.parse.kconfig.check(args, if "pmb:kconfigcheck-community" not in apkbuild["options"]:
aport_name.replace("linux-", ""), raise RuntimeError(f"{aport_name}: \"pmb:kconfigcheck-community\" missing in"
force_nftables_check=True) " options= line, required for all community/main devices.")