forked from Mirror/pmbootstrap
kconfig check: add --keep-going argument (MR 2384)
Abort the "pmbootstrap kconfig check" on the first error, unless the --keep-going argument was passed. This makes it easier to go through the failed kernels one by one until they are all fixed.
This commit is contained in:
parent
816ae5ac6c
commit
f1afdeaaa1
4 changed files with 13 additions and 2 deletions
|
@ -77,7 +77,7 @@ def run_command(args: PmbArgs):
|
|||
elif args.action == "pull":
|
||||
command = Pull()
|
||||
elif args.action == "kconfig" and args.action_kconfig == "check":
|
||||
command = KConfigCheck(args.kconfig_check_details, args.file, args.package)
|
||||
command = KConfigCheck(args.kconfig_check_details, args.file, args.package, args.keep_going)
|
||||
elif args.action == "kconfig" and args.action_kconfig in ["edit", "migrate"]:
|
||||
command = KConfigEdit(args.package[0], args.action_kconfig == "migrate")
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue