From 4cc20f514d7daaaf62d70c96e70e3053db68efa4 Mon Sep 17 00:00:00 2001 From: fengjiahui4 Date: Sat, 22 Jan 2022 10:33:13 +0800 Subject: [PATCH] fix: update bundle.json file Signed-off-by: fengjiahui4 --- bundle.json | 110 ++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 90 insertions(+), 20 deletions(-) diff --git a/bundle.json b/bundle.json index 69cc89a6..b56312ec 100644 --- a/bundle.json +++ b/bundle.json @@ -1,19 +1,24 @@ { "name": "@ohos/update_updater", - "version": "", + "version": "3.0", "description": "升级包安装组件运行在recovery分区,其功能主要包括读取misc分区信息获取升级包状态,对升级包进行校验,确保升级包合法有效;然后从升级包中解析出升级的可执行程序,创建子进程并启动升级程序。具体升级的动作由升级脚本控制。", "homePage": "https://gitee.com/openharmony", - "license": "", - "repository": "", + "license": "Apache License 2.0", + "repository": "https://gitee.com/openharmony/update_updater", "domain": "os", "language": "", - "publishAs": "", + "publishAs": "code-segment", "private": false, "scripts": {}, - "tags": [], - "keywords": [], - "envs": [], - "dirs": [], + "tags": [ + "base" + ], + "keywords": [ + "update", + "updater" + ], + "envs": {}, + "dirs": {}, "author": { "name": "", "email": "", @@ -26,25 +31,90 @@ "url": "" } ], - "segment": {}, + "segment": { + "destPath": "base/update/updater" + }, "component": { - "name": "updater", - "subsystem": "update", + "name": "update_updater", + "subsystem": "updater", "syscap": [], "features": [], - "adapted_system_type": [ - "standard" - ], + "adapted_system_type": [ "standard" ], "rom": "", "ram": "", "deps": { - "components": [], - "third_party": [] + "components": [ + "startup_init_lite", + "startup_syspara_lite", + "developtools_hdc_standard", + "utils_native", + "drivers_peripheral" + ], + "third_party": [ + "third_party_bounds_checking_function", + "third_party_bzip2", + "third_party_libdrm", + "third_party_lz4", + "third_party_openssl", + "third_party_libusb", + "third_party_zlib", + "third_party_libuv", + "third_party_cJSON", + "third_party_libpng" + ] }, "build": { - "sub_component": [], - "inner_kits": [], - "test": [] + "sub_component": [ + "//base/update/updater/resources:updater_resources", + "//base/update/updater/services:updater_etc", + "//base/update/updater/services/package:libupdaterpackage", + "//base/update/updater/services/script:libupdaterscript", + "//base/update/updater/services/log:libupdaterlog", + "//base/update/updater/services/updater_binary:updater_binary", + "//base/update/updater/services:updater", + "//base/update/updater/services/applypatch:libapplypatch", + "//base/update/updater/services/fs_manager:libfsmanager", + "//base/update/updater/services/flashd:updater_flashd", + "//base/update/updater/utils:libutils", + "//base/update/updater/utils:updater_reboot", + "//base/update/updater/utils:write_updater", + "//base/update/updater/services/diffpatch/patch:libpatch", + "//base/update/updater/services/diffpatch/diff:libdiff", + "//base/update/updater/services/ui:libui" + ], + "inner_kits": [ + { + "name": "//base/update/updater/interfaces/kits/misc_info:libmiscinfo", + "header": { + "header_files": [ + "misc_info/misc_info.h" + ], + "header_base": "//base/update/updater/interfaces/kits/include" + } + }, + { + "name": "//base/update/updater/interfaces/kits/packages:libpackageExt", + "header": { + "header_files": [ + "package/package.h" + ], + "header_base": "//base/update/updater/interfaces/kits/include" + } + }, + { + "name": "//base/update/updater/interfaces/kits/updaterkits:libupdaterkits", + "header": { + "header_files": [ + "updaterkits/updaterkits.h" + ], + "header_base": "//base/update/updater/interfaces/kits/include" + } + } + ], + "test": [ + "//base/update/updater:unittest" + ] } } -} \ No newline at end of file +} + -- Gitee