Remove unused args from common.py
We are removing support of VB from release tools. This change aims to remove args that no longer be used. Bug: 242672222 Test: atest under build/make Change-Id: I347447ebf1e589f8d3c4c8254f2940911c0be7f1
This commit is contained in:
@@ -82,10 +82,6 @@ class Options(object):
|
||||
self.public_key_suffix = ".x509.pem"
|
||||
self.private_key_suffix = ".pk8"
|
||||
# use otatools built boot_signer by default
|
||||
self.boot_signer_path = "boot_signer"
|
||||
self.boot_signer_args = []
|
||||
self.verity_signer_path = None
|
||||
self.verity_signer_args = []
|
||||
self.verbose = False
|
||||
self.tempfiles = []
|
||||
self.device_specific = None
|
||||
@@ -2629,13 +2625,13 @@ def ParseOptions(argv,
|
||||
elif o in ("--private_key_suffix",):
|
||||
OPTIONS.private_key_suffix = a
|
||||
elif o in ("--boot_signer_path",):
|
||||
OPTIONS.boot_signer_path = a
|
||||
raise ValueError("--boot_signer_path is no longer supported, please switch to AVB")
|
||||
elif o in ("--boot_signer_args",):
|
||||
OPTIONS.boot_signer_args = shlex.split(a)
|
||||
raise ValueError("--boot_signer_args is no longer supported, please switch to AVB")
|
||||
elif o in ("--verity_signer_path",):
|
||||
OPTIONS.verity_signer_path = a
|
||||
raise ValueError("--verity_signer_path is no longer supported, please switch to AVB")
|
||||
elif o in ("--verity_signer_args",):
|
||||
OPTIONS.verity_signer_args = shlex.split(a)
|
||||
raise ValueError("--verity_signer_args is no longer supported, please switch to AVB")
|
||||
elif o in ("-s", "--device_specific"):
|
||||
OPTIONS.device_specific = a
|
||||
elif o in ("-x", "--extra"):
|
||||
|
Reference in New Issue
Block a user