Disable patches check on github
This commit is contained in:
11
deploy.py
11
deploy.py
@@ -770,7 +770,8 @@ class OpenSKInstaller:
|
||||
info("Nothing to do.")
|
||||
return 0
|
||||
|
||||
subprocess.run(["./maintainers/patches", "check"], check=False)
|
||||
if self.args.check_patches:
|
||||
subprocess.run(["./maintainers/patches", "check"], check=False)
|
||||
|
||||
# Compile what needs to be compiled
|
||||
board_props = SUPPORTED_BOARDS[self.args.board]
|
||||
@@ -1108,6 +1109,14 @@ if __name__ == "__main__":
|
||||
"of variable-time arithmetic for computations over secret key."),
|
||||
)
|
||||
|
||||
main_parser.add_argument(
|
||||
"--disable-check-patches",
|
||||
action="store_false",
|
||||
default=True,
|
||||
dest="check_patches",
|
||||
help=("Don't check that patches are in sync with their submodules."),
|
||||
)
|
||||
|
||||
main_parser.set_defaults(features=["with_ctap1"])
|
||||
|
||||
# Start parsing to know if we're going to list things or not.
|
||||
|
||||
Reference in New Issue
Block a user