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"
" 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"]:
if path.startswith(f"{args.aports}/{dir}"):
assert pmb.parse.kconfig.check(args,
aport_name.replace("linux-", ""),
force_nftables_check=True)
if "pmb:kconfigcheck-community" not in apkbuild["options"]:
raise RuntimeError(f"{aport_name}: \"pmb:kconfigcheck-community\" missing in"
" options= line, required for all community/main devices.")