ci/testcases: check for nftables support in kernels used by main & community devices (MR 2366)

This commit is contained in:
Clayton Craft 2021-07-19 14:06:08 -07:00
parent f31eea89b6
commit 274dbe9fbb
No known key found for this signature in database
GPG key ID: 7A3461CA187CEA54

View file

@ -33,3 +33,10 @@ def test_aports_kernel(args):
" not be explicitly specified in makedepends!"
" pmbootstrap installs cross-compiler"
" automatically.")
# nftables support in kernels used by 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)