Searched refs:src_image_path (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/build/ohos/packages/ |
H A D | system_gzip_package.py | 28 def merge_image_files(src_image_path: str, dest_image_path: str): 29 if not os.path.exists(src_image_path): 31 "source image path {} does not exist.".format(src_image_path)) 33 for root, dirs, files in os.walk(src_image_path): 36 dir_relpath = os.path.relpath(src_dir, src_image_path) 43 file_relpath = os.path.relpath(src_file_path, src_image_path)
|
/ohos5.0/base/update/packaging_tools/ |
H A D | build_update.py | 512 def write_image_patch_script(partition, src_image_path, tgt_image_path, argument 522 src_sha = get_file_sha256(src_image_path) 523 src_size = os.path.getsize(src_image_path) 541 image_patch_cmd = verse_script.image_patch(partition, os.path.getsize(src_image_path), 542 get_file_sha256(src_image_path), os.path.getsize(tgt_image_path), 551 partition, src_image_path, tgt_image_path, argument 566 cmd.extend(['-s', src_image_path, '-d', tgt_image_path, 578 return write_image_patch_script(partition, src_image_path, tgt_image_path,
|