Skip to content

Commit

Permalink
ota: Remove the skip_version_check option
Browse files Browse the repository at this point in the history
Signed-off-by: wangjianyu3 <[email protected]>
  • Loading branch information
JianyuWang0623 committed Dec 30, 2024
1 parent c68f3db commit eaa85d5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tools/gen_ota_zip.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit eaa85d5

Please sign in to comment.