• Home
  • Raw
  • Download

Lines Matching full:path

21   target_package        Target package file path.
22 update_package Update package file path.
27 Source package file path.
31 Variable partition mode, Partition list file path.
39 Private key file path.
44 -xp, --xml_path XML file path.
95 if arg is not None and not os.path.exists(arg):
97 "FileNotFoundError, path: %s" % arg, UPDATE_LOGGER.ERROR_LOG)
109 if arg != "ON_SERVER" and not os.path.isfile(arg):
111 "FileNotFoundError, path: %s" % arg, UPDATE_LOGGER.ERROR_LOG)
119 the update package path exists.
124 if os.path.exists(arg):
125 if os.path.isfile(arg):
127 "Update package must be a dir path, not a file path. "
128 "path: %s" % arg, UPDATE_LOGGER.ERROR_LOG)
133 "Update package path does not exist. The dir will be created!"
134 "path: %s" % arg, UPDATE_LOGGER.WARNING_LOG)
139 "Make update package path dir failed! "
140 "path: %s" % arg, UPDATE_LOGGER.ERROR_LOG)
151 the update package path exists.
155 unpack_package = os.path.join(OPTIONS_MANAGER.update_package, arg)
156 if not os.path.isfile(unpack_package):
158 "FileNotFoundError, path: %s" % unpack_package, UPDATE_LOGGER.ERROR_LOG)
170 update_package : update package output path
174 private_key : path of the private key file
181 default=None, help="Source package file path.")
183 help="Target package file path.")
185 help="Update package file path.")
190 "Partition list file path.")
201 default=None, help="Private key file path.")
210 default=None, help="XML file path.")
276 :param source_package: source package path
279 if os.path.isdir(source_package):
291 "path: %s" % source_package, UPDATE_LOGGER.ERROR_LOG)
339 xml_path = os.path.join(OPTIONS_MANAGER.source_package_dir,
344 if os.path.exists(xml_path):
348 UPDATE_LOGGER.print_log("XML file does not exist! xml path: %s" %
372 "Please check xml config, path: %s!" %
373 os.path.join(OPTIONS_MANAGER.target_package_config_dir,
391 "Please check xml config, path: %s!" %
392 os.path.join(OPTIONS_MANAGER.target_package_config_dir,
402 Check the target_package path.
403 :param target_package: target package path
406 if os.path.isdir(target_package):
411 os.path.join(target_package, UPDATER_CONFIG)
414 "Exception's target package path! path: %s" %
426 os.path.join(unzip_dir, UPDATER_CONFIG)
429 "Input Update Package type exception! path: %s" %
477 :param image_path: image path
478 :param map_path: image map file path
482 if not os.path.exists(image_path):
496 if not os.path.exists(map_path):
527 src_size = os.path.getsize(src_image_path)
529 tgt_size = os.path.getsize(tgt_image_path)
545 image_patch_cmd = verse_script.image_patch(partition, os.path.getsize(src_image_path),
546 get_file_sha256(src_image_path), os.path.getsize(tgt_image_path),
561 :param source_package_dir: source package path
562 :param target_package_dir: target package path
594 :param source_package_dir: source package path
595 :param target_package_dir: target package path
605 os.path.join(source_package_dir,
608 os.path.join(source_package_dir,
611 os.path.join(target_package_dir,
614 os.path.join(target_package_dir,
622 "src image path: %s, tgt image path: %s" %
628 if not os.path.exists(each_src_map_path):
635 if not os.path.exists(each_tgt_map_path):
719 (os.path.getsize(new_dat_file_obj.name) == num * PER_BLOCK_SIZE) and \
720 (os.path.getsize(patch_dat_file_obj.name) == diff_num)
748 :param partition_file: partition xml file path
749 :param source_package: source package path
775 :param private_key: private key path
776 :param source_package: source package path
777 :param target_package: target package path
778 :param update_package: output package path