M pmb/helpers/frontend.py => pmb/helpers/frontend.py +2 -4
@@ 393,10 393,8 @@ def kconfig(args):
raise RuntimeError("kconfig check failed!")
# Default to all kernel packages
- packages = []
- if args.package:
- packages = [args.package]
- else:
+ packages = args.package
+ if not args.package:
for aport in pmb.helpers.pmaports.get_list(args):
if aport.startswith("linux-"):
packages.append(aport.split("linux-")[1])
M pmb/parse/arguments.py => pmb/parse/arguments.py +1 -1
@@ 476,7 476,7 @@ def arguments_kconfig(subparser):
check.add_argument(f"--{name}", action="store_true",
dest=f"kconfig_check_{name}",
help=f"check options needed for {name} too")
- add_kernel_arg(check)
+ add_kernel_arg(check, nargs="*")
# "pmbootstrap kconfig edit"
edit = sub.add_parser("edit", help="edit kernel aport config")