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:
parent
2c58ce8e45
commit
a1a2f80a51
@ -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.")
|
||||||
|
Loading…
Reference in New Issue
Block a user