Commit Graph

100 Commits

Author SHA1 Message Date
chenshixu1
6c8cb918bc dep_cpl
Signed-off-by: chenshixu1 <chenshixu1@huawei.com>
Change-Id: Ib34476e954008886a37d75e3b51753f6b39d1956
2024-03-20 14:32:06 +08:00
chenshixu1
7181dd9cd6 fix_dep
Signed-off-by: chenshixu1 <chenshixu1@huawei.com>
2024-03-13 14:26:50 +08:00
chenshixu1
df05500b61 dep_cpl
Signed-off-by: chenshixu1 <chenshixu1@huawei.com>
Change-Id: I1e91900de1beecc28a54bab87f06715dd88b4d94
2024-03-09 08:52:35 +08:00
chenshixu1
69252d881b fix_init_comp_none
Signed-off-by: chenshixu1 <chenshixu1@huawei.com>
Change-Id: Id6867272e32b108b49c84ad879af1d15255dab49
2023-11-04 09:29:14 +00:00
handyohos
8b13fa5918 Bugfix: 拆分独立的init_early进程在ramdisk中使用
1)增加init_early完成第一阶段初始化:完成初始文件系统挂载,完成基础的dev节点创建,完成required fs的挂载
2)second stage过程的init去掉第一阶段相关代码,解除仅能静态链接的限制。
3)把init_early打包到ramdisk镜像中,并软链接为init
4)去掉early阶段读取系统参数的无效代码

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I2225f15ade5004441f2acfc6754c29cf5b201f78

#I81HSS
2023-09-20 22:33:34 +08:00
张文迪
86f3dd270c revise mini system start up
Signed-off-by: 张文迪 <zhangwendi3@huawei.com>
2022-09-05 16:41:15 +08:00
Mupceet
806c4e3dcd init
Signed-off-by: Mupceet <laiguizhong@huawei.com>
Change-Id: I0d991af1e31fcf875c69058e9a48913e4bc40c91
2022-07-05 21:14:12 +08:00
Mupceet
4358a09e84 拆分param
Signed-off-by: Mupceet <laiguizhong@huawei.com>

format build

Signed-off-by: Mupceet <laiguizhong@huawei.com>

fix style

Signed-off-by: Mupceet <laiguizhong@huawei.com>

fix style

Signed-off-by: Mupceet <laiguizhong@huawei.com>

fix style

Signed-off-by: Mupceet <laiguizhong@huawei.com>

fix libsocket

Signed-off-by: Mupceet <laiguizhong@huawei.com>
2022-06-09 20:31:41 +08:00
handy
966332829b
回退 'Pull Request !755 : 拆分独立的init_early进程在ramdisk中使用' 2022-06-08 02:12:58 +00:00
handyohos
758445056e feat: add init_early for first stage init
1)增加init_early完成第一阶段初始化:完成初始文件系统挂载,完成基础的dev节点创建,完成required fs的挂载
2)second stage过程的init去掉第一阶段相关代码,解除仅能静态链接的限制。

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I1b981a5d74171852fccd2f9980605f0eea5abb6b

#I5ACWF
2022-06-01 16:15:58 +08:00
handyohos
f9a846863f feat: move init_module_engine to innerkits directory
1)把init_module_engine代码挪到innterkits目录
2)更新init_module_engine的export目录,确保扩展模块开发之需要external_deps = [ "init:init_module_engine" ]即可解决include头文件问题

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I4b307735d70899d07bf6ef3273b695627c8e551e
2022-06-01 09:27:12 +08:00
Mupceet
200377ece6 init: add control_fd cmd
Signed-off-by: Mupceet <laiguizhong@huawei.com>
2022-05-26 12:27:57 +08:00
Mupceet
13f6415f59 系统参数归一,支持liteos
Signed-off-by: Mupceet <laiguizhong@huawei.com>
2022-05-25 12:41:36 +08:00
handyohos
47593dcd49 feat: update parameter values in BUILD.gn
1)新增ohos_prebuilt_para模版,可通过extra_paras更新默认的para文件中的参数值
2)该模版同时可以去掉para文件中的注释

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I588f158a12a654d3d832127dd0010e8d22db24a7
2022-05-14 23:43:55 +08:00
handyohos
2ced3fab48 feat: Add 64bit support for modulemgr.
1)install from lib64 for arm64 platform

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I7420b15591b180bf4b09c563d0d6751cdc321c90
2022-05-14 16:41:35 +08:00
handyohos
755dce1501 feat: optimize module manager and hook manager.
1)通过module manager完成模块的动态安装和卸载
2) 通过hook manager完成钩子的管理

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I9ccd500a9fec27f6c45d5827d734f7dcf68d52a2
2022-05-14 11:15:21 +08:00
Mupceet
766b2c7f25 Merge branch 'master' of gitee.com:openharmony/startup_init_lite into param_init0428
Signed-off-by: Mupceet <laiguizhong@huawei.com>
2022-04-29 08:51:46 +00:00
openharmony_ci
b6870757de
!518 将 appdata-sandbox.json 应用沙箱配置文件放到 sandbox目录下
Merge pull request !518 from zyj-alex/zhengyongjun/sandbox-config
2022-04-29 03:35:20 +00:00
Mupceet
7b02c4d786 fix: param 归一
Signed-off-by: Mupceet <laiguizhong@huawei.com>
2022-04-28 18:53:40 +08:00
handyohos
cce477f89f feat: add plugin engine for init.
1)通过ohos_native_stub_library为init提供libinit_plugin_engine打桩库,解决插件的编译链接问题。
2)通过ohos_native_stub_versionscript为init进程export开放API供插件调用。
3)通过libinit_stub_empty创建空的so库解决dlopen插件时找不到库的问题。

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I631723ce7a388d5f2067edf12068f7eb1e4c21da
2022-04-22 09:22:01 +08:00
openharmony_ci
327b651cb5
!522 fix: disassemble service from init.cfg
Merge pull request !522 from 熊磊/0415xyttwocfgs
2022-04-18 04:09:29 +00:00
zhr758
935a358669 使用层级接口加载param
Signed-off-by: zhr758 <zhanghaoran@huawei.com>
2022-04-15 15:07:41 +00:00
xionglei6
08ca50fb13 fix: disassemble service from init.cfg
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-04-15 22:38:11 +08:00
xionglei6
7a5e92feb2 fix: disassemble service from init.cfg
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-04-15 21:19:13 +08:00
xionglei6
5082b0e198 fix: disassemble service from init.cfg
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-04-15 18:56:05 +08:00
Zheng Yongjun
8fd927e28e 将 appdata-sandbox.json 应用沙箱配置文件放到 sandbox目录下
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
2022-04-15 11:10:46 +08:00
openharmony_ci
bcb163e0b6
!500 ohos_const parameters are not installed
Merge pull request !500 from handy/0311
2022-04-11 08:39:06 +00:00
handyohos
6f218b46cf bugfix: ohos_const parameters are not installed.
1)ohos_const系统参数没有解析。

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I400d7746c9b9a27a3e4f0a599e946d8326d3f871

#I51W5X
2022-04-11 15:04:56 +08:00
zff
20e73cb80d feat: 系统组件支持64位集成
close: #I5113F

Signed-off-by: zff <zhangfanfan2@huawei.com>
Change-Id: I4ead32fc38568e3b2160371373906079486bbe6e
2022-04-09 20:34:52 +08:00
xionglei6
3f770b82e7 fix: source code file mode
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-03-23 15:01:33 +08:00
xionglei6
65b5779301 fix: service BUILD.gn format
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-03-07 16:41:56 +08:00
熊磊
9e1a7792e5 Merge branch 'master' of gitee.com:openharmony/startup_init_lite into init_sandbox33
Signed-off-by: xionglei <xionglei6@huawei.com>
2022-03-07 08:17:28 +00:00
xionglei6
7e06ff5f8a add: appspawn sandbox config json
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-03-07 15:12:12 +08:00
xionglei6
3817020fa0 add: appspawn sandbox config json
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-03-07 14:56:28 +08:00
xionglei6
e0bef6dfc1 add: appspawn sandbox config json
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-03-07 14:38:19 +08:00
xionglei6
6b0cd809b6 init: add sandbox func
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-03-03 20:39:52 +08:00
xionglei6
3fb12c3049 add: 添加suspend支持
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-03-03 17:11:24 +08:00
xionglei6
22bc3daecf add bootchart
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-02-21 11:12:21 +08:00
xionglei6
95d8cd8152 add bootchart
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-02-21 09:23:11 +08:00
hw_mzyan
147227fde1 Merge branch 'master' of gitee.com:openharmony/startup_init_lite into master 2022-02-17 09:19:00 +00:00
handyohos
26a2fe2595 bugfix: fix compiling error for qemu-arm-linux-min system.
1)最小系统不需要profiler,通过support_jsapi进行隔离。

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I1ef59b9a8e1c3428de45e5623126cc579f689d6a
2022-02-17 16:20:06 +08:00
yanmengzhao
2469ed59fd import libhidebug with dlopen func.
Signed-off-by: yanmengzhao <yanmengzhao1@huawei.com>
2022-02-17 16:11:36 +08:00
yanmengzhao
8dd0fb87b0 move libhidebug from deps to external_deps
Signed-off-by: yanmengzhao <yanmengzhao1@huawei.com>
2022-02-16 16:02:55 +08:00
yanmengzhao
12c1d05fd6 add func call for hidebug
Signed-off-by: yanmengzhao <yanmengzhao1@huawei.com>
2022-02-16 11:48:00 +08:00
lnlan
7239ccdb67 feat: syscap文件打包进系统镜像
【背景】系统system中需要相关syscap文件

【修改方案】
1. syscap文件打包进系统镜像

【影响】
对现有的产品编译不会有影响。

re#I4T7SL

Change-Id: I4aec251bb794b05361b5fc95c151853358c2d466
Signed-off-by: lnlan <lanleinan3@huawei.com>
2022-02-11 12:33:12 +08:00
xionglei6
ce79ebd3b4 init: add func
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-01-30 14:51:28 +08:00
openharmony_ci
45a41a1b64
!277 modify: ondemand ueventd and format socket
Merge pull request !277 from 熊磊/init0127xyt
2022-01-28 07:54:21 +00:00
xionglei6
41fa081b19 init: fix L1 compile warning
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-01-27 16:58:42 +08:00
xionglei6
d9f3c81ef4 modify: ondemand ueventd and format socket
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-01-27 15:51:30 +08:00
xionglei6
f17ec2ed0e Add: 配置进程服务的AccessToken
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-01-25 15:19:18 +08:00