pmb.parse.kconfig.check: git friendly arguments (MR 2133)

Put each component argument into a separate line, as these get changed
whenever adding a new kernel config check. I'm about to add two new
ones.
This commit is contained in:
Oliver Smith 2021-10-21 09:49:38 +02:00
parent 0664a38190
commit 6b8fa93d37
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 10 additions and 3 deletions

View File

@ -65,7 +65,10 @@ def check_option(component, details, config, config_path_pretty, option,
def check_config(config_path, config_path_pretty, config_arch, pkgver,
anbox=False, nftables=False, containers=False, zram=False,
anbox=False,
nftables=False,
containers=False,
zram=False,
details=False):
logging.debug(f"Check kconfig: {config_path}")
with open(config_path) as handle:
@ -123,8 +126,12 @@ def check_config_options_set(config, config_path_pretty, config_arch, options,
return ret
def check(args, pkgname, force_anbox_check=False, force_nftables_check=False,
force_containers_check=False, force_zram_check=False, details=False):
def check(args, pkgname,
force_anbox_check=False,
force_nftables_check=False,
force_containers_check=False,
force_zram_check=False,
details=False):
"""
Check for necessary kernel config options in a package.