Home
last modified time | relevance | path

Searched refs:target_package (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/base/update/packaging_tools/test/
H A Dtest_utils.py50 target_package = "test.zip"
51 zip_obj = zipfile.ZipFile(target_package, "w")
55 check_re = unzip_package(target_package, origin='target')
56 os.remove(target_package)
60 target_package = "test.zip"
61 zip_obj = zipfile.ZipFile(target_package, "w")
68 check_re = unzip_package(target_package, origin='target')
69 os.remove(target_package)
H A Dtest_build_update.py233 target_package = "nonexistent_path.test"
234 check_re = check_target_package_path(target_package)
243 target_package = "test.zip"
244 zip_obj = zipfile.ZipFile(target_package, "w")
251 check_re = check_target_package_path(target_package)
252 os.remove(target_package)
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-ota-guide.md96 1. 创建目标版本(target_package)文件夹,文件格式如下:
101 target_package
171 python build_update.py ./target_package/ ./output_package/ -pk ./rsa_private_key3072.pem -nz -nl2
174 - ./target_package/:指定target_package路径。
182 1. 创建目标版本(target_package)文件夹,文件格式如下:
186 target_package
233 6. 针对增量(差分)升级包,还需要准备一个源版本(source_package),文件内容格式与目标版本(target_package)相同,需要打包成zip格式,即为:source_packag…
268 python build_update.py ./target_package/ ./output_package/ -pk ./rsa_private_key2048.pem
271 - ./target_package/:指定target_package路径。
284 - ./target_package/:指定target_package路径。
[all …]
/ohos5.0/base/update/packaging_tools/
H A Dbuild_update.py221 OPTIONS_MANAGER.target_package = args.target_package
237 OPTIONS_MANAGER.target_package,
400 def check_target_package_path(target_package): argument
406 if os.path.isdir(target_package):
407 OPTIONS_MANAGER.target_package_dir = target_package
408 temp_dir_list = os.listdir(target_package)
411 os.path.join(target_package, UPDATER_CONFIG)
415 target_package, UPDATE_LOGGER.ERROR_LOG)
417 elif target_package.endswith('.zip'):
430 target_package, UPDATE_LOGGER.ERROR_LOG)
[all …]
H A Dbuild_module_package.py389 def build_module_package(package_name, target_package, update_package, private_key, sign_cert): argument
395 img_file_path = os.path.join(target_package, 'module.img')
399 module_file_path = os.path.join(target_package, 'config.json')
402 pub_key_file_path = os.path.join(target_package, 'pub_key.pem')
458 build_re = build_module_package(args.package_name, args.target_package,
H A Dpatch_package_process.py521 dir=OPTIONS_MANAGER.target_package, prefix="%s-" % NEW_DAT, mode='wb')
523 dir=OPTIONS_MANAGER.target_package, prefix="%s-" % PATCH_DAT, mode='wb')
525 dir=OPTIONS_MANAGER.target_package, prefix="%s-" % TRANSFER_LIST, mode='wb')
535 dir=OPTIONS_MANAGER.target_package, prefix="partition_patch-")
H A DREADME_zh.md68 target_package Target package file path.
H A Dutils.py134 self.target_package = None
448 OPTIONS_MANAGER.target_package = None
H A DREADME.md56 target_package Target package file path.
H A Dunpack_updater_package.py192 self.save_path = os.path.join(OPTIONS_MANAGER.target_package, filename)
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-ota-guide.md101 target_package
171 python build_update.py ./target_package/ ./output_package/ -pk ./rsa_private_key3072.pem -nz -nl2
186 target_package
268 python build_update.py ./target_package/ ./output_package/ -pk ./rsa_private_key2048.pem
281 …python build_update.py ./target_package/ ./output_package/ -s ./source_package.zip -pk ./rsa_pri…
295 …python build_update.py ./target_package/ ./output_package/ -pk ./rsa_private_key2048.pem -pf ./…