From 1d9a7e7f5623446c67c4e098a26ea588514dd6d7 Mon Sep 17 00:00:00 2001 From: wangjianyu3 Date: Mon, 30 Dec 2024 21:59:15 +0800 Subject: [PATCH] ota: Remove the skip_version_check option Signed-off-by: wangjianyu3 --- tools/gen_ota_zip.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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