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:
Oliver Smith 2024-07-28 15:51:59 +02:00
parent 816ae5ac6c
commit f1afdeaaa1
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
4 changed files with 13 additions and 2 deletions

View file

@ -660,6 +660,12 @@ def arguments_kconfig(subparser):
help="print one generic error per component instead of"
" listing each option that needs to be adjusted",
)
check.add_argument(
"-k",
"--keep-going",
action="store_true",
help="continue on errors instead of aborting on the first error",
)
add_kernel_arg(check, nargs="*")
# "pmbootstrap kconfig edit"