1{ 2 "name": "@ohos/update_updater", 3 "version": "3.1", 4 "description": "升级包安装组件运行在recovery分区,其功能主要包括读取misc分区信息获取升级包状态,对升级包进行校验,确保升级包合法有效;然后从升级包中解析出升级的可执行程序,创建子进程并启动升级程序。具体升级的动作由升级脚本控制。", 5 "homePage": "https://gitee.com/openharmony", 6 "license": "Apache License 2.0", 7 "repository": "https://gitee.com/openharmony/update_updater", 8 "domain": "os", 9 "language": "", 10 "publishAs": "code-segment", 11 "private": false, 12 "scripts": {}, 13 "tags": [ 14 "base" 15 ], 16 "keywords": [ 17 "update", 18 "updater" 19 ], 20 "envs": {}, 21 "dirs": {}, 22 "author": { 23 "name": "", 24 "email": "", 25 "url": "" 26 }, 27 "contributors": [ 28 { 29 "name": "", 30 "email": "", 31 "url": "" 32 } 33 ], 34 "segment": { 35 "destPath": "base/update/updater" 36 }, 37 "component": { 38 "name": "updater", 39 "subsystem": "updater", 40 "syscap": [], 41 "features": [], 42 "adapted_system_type": [ "standard" ], 43 "rom": "", 44 "ram": "", 45 "deps": { 46 "components": [ 47 "startup_init_lite", 48 "startup_syspara_lite", 49 "developtools_hdc_standard", 50 "utils_native", 51 "drivers_peripheral" 52 ], 53 "third_party": [ 54 "third_party_bounds_checking_function", 55 "third_party_bzip2", 56 "third_party_libdrm", 57 "third_party_lz4", 58 "third_party_openssl", 59 "third_party_libusb", 60 "third_party_zlib", 61 "third_party_libuv", 62 "third_party_cJSON", 63 "third_party_libpng" 64 ] 65 }, 66 "build": { 67 "sub_component": [ 68 "//base/update/updater/resources:updater_resources", 69 "//base/update/updater/services:updater_etc", 70 "//base/update/updater/services/package:libupdaterpackage", 71 "//base/update/updater/services/script:libupdaterscript", 72 "//base/update/updater/services/log:libupdaterlog", 73 "//base/update/updater/services/updater_binary:updater_binary", 74 "//base/update/updater/services:updater", 75 "//base/update/updater/services/applypatch:libapplypatch", 76 "//base/update/updater/services/fs_manager:libfsmanager", 77 "//base/update/updater/services/flashd:updater_flashd", 78 "//base/update/updater/utils:libutils", 79 "//base/update/updater/utils:updater_reboot", 80 "//base/update/updater/utils:write_updater", 81 "//base/update/updater/services/diffpatch/patch:libpatch", 82 "//base/update/updater/services/diffpatch/diff:libdiff", 83 "//base/update/updater/services/ui:libui" 84 ], 85 "inner_kits": [ 86 { 87 "name": "//base/update/updater/interfaces/kits/misc_info:libmiscinfo", 88 "header": { 89 "header_files": [ 90 "misc_info/misc_info.h" 91 ], 92 "header_base": "//base/update/updater/interfaces/kits/include" 93 } 94 }, 95 { 96 "name": "//base/update/updater/interfaces/kits/packages:libpackageExt", 97 "header": { 98 "header_files": [ 99 "package/package.h" 100 ], 101 "header_base": "//base/update/updater/interfaces/kits/include" 102 } 103 }, 104 { 105 "name": "//base/update/updater/interfaces/kits/updaterkits:libupdaterkits", 106 "header": { 107 "header_files": [ 108 "updaterkits/updaterkits.h" 109 ], 110 "header_base": "//base/update/updater/interfaces/kits/include" 111 } 112 } 113 ], 114 "test": [] 115 } 116 } 117} 118 119