pmb.parse.kconfig: implement anbox kconfig check (MR 1916)

fixes https://gitlab.com/postmarketOS/pmbootstrap/-/issues/1891.
This commit is contained in:
Antoine Fontaine 2020-04-13 10:51:56 +02:00 committed by Oliver Smith
parent e36e160167
commit 28da033267
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
5 changed files with 116 additions and 30 deletions

View file

@ -258,6 +258,8 @@ def arguments_kconfig(subparser):
check.add_argument("--arch", choices=arch_choices, dest="arch")
check.add_argument("--file", action="store_true", help="check a file"
" directly instead of a config in a package")
check.add_argument("--anbox", action="store_true", help="check"
" options needed for anbox too")
check_package = check.add_argument("package", default="", nargs='?')
if argcomplete:
check_package.completer = kernel_completer