diff --git a/tools/gen_ota_zip.py b/tools/gen_ota_zip.py index 6408e43..39234c2 100755 --- a/tools/gen_ota_zip.py +++ b/tools/gen_ota_zip.py @@ -326,8 +326,7 @@ def gen_full_sh(path_list, bin_list, args, tmp_folder): i = 0 while i < path_cnt: - if not args.skip_version_check : - str = \ + str = \ ''' avb_verify -U /ota/%s %s /etc/key.avb if [ $? -ne 0 ] @@ -479,11 +478,6 @@ def gen_full_ota(args): type=int, default=[0]) - parser.add_argument('--skip_version_check',\ - help='skip version check,all version can update this ota.zip', - action='store_true', - default=False) - parser.add_argument("--speedconf", help=''' set speed conf file,this use to control different media progress inconsistencies