kconfig check: add support for checking zram options (MR 2075)

Device kernels that enable zram support can use `pmb:kconfigcheck-zram`
to protect against kconfig regressions that disable support for zram.
This commit is contained in:
Clayton Craft 2021-06-23 19:07:46 -07:00
parent 687807fa73
commit 6afd35eb11
No known key found for this signature in database
GPG key ID: 7A3461CA187CEA54
7 changed files with 87 additions and 3 deletions

View file

@ -441,6 +441,8 @@ def arguments_kconfig(subparser):
" options needed for nftables too")
check.add_argument("--containers", action="store_true",
help="check options needed for containers too")
check.add_argument("--zram", action="store_true", help="check"
" options needed for zram support too")
check_package = check.add_argument("package", default="", nargs='?')
if argcomplete:
check_package.completer = kernel_completer