Commit Graph

124 Commits

Author SHA1 Message Date
李怡
e1a2e2e57c
update services/utils/init_utils.c.
Signed-off-by: 李怡 <liyi183@huawei.com>
2024-05-06 08:45:13 +00:00
李怡
131ee88253
add rescue mode
Signed-off-by: 李怡 <liyi183@huawei.com>
2024-04-28 12:03:57 +00:00
openharmony_ci
e8988ea78d
!2722 修复console节点设置失败的问题
Merge pull request !2722 from cat/master
2024-04-15 11:58:44 +00:00
liveery
33b616b1b9 fix:fix find support file system condition
Feature or Bugfix:Bugfix
Binary Source: No

Signed-off-by: liveery <liangming712@huawei.com>
2024-04-13 10:32:40 +00:00
cat
274a87195b Description:fix ioctl console failed
Feature or Bugfix:Bugfix
Binary Source: No

Signed-off-by: cat <chenjinxiang3@huawei.com>
2024-04-13 06:36:11 +00:00
chenshixu1
df05500b61 dep_cpl
Signed-off-by: chenshixu1 <chenshixu1@huawei.com>
Change-Id: I1e91900de1beecc28a54bab87f06715dd88b4d94
2024-03-09 08:52:35 +08:00
liveery
63f671167b fix:modify wait time 10ms
Feature or Bugfix:Bugfix
Binary Source: No

Signed-off-by: liveery <liangming712@huawei.com>
2024-02-20 13:41:43 +00:00
openharmony_ci
bd84b5e4f2 init:support extended filesystem
Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Signed-off-by: zhangqilong <zhangqilong3@huawei.com>
Change-Id: I8b14ec85f6efbcb3be96a50314f7fb949f937605
2023-11-28 00:20:23 +08:00
zhongning5
dd4ff6145e fix begetutilsexported_header_files范围
Signed-off-by: zhongning5 <zhongning5@huawei.com>
Change-Id: Id76ff63fcd6fde64d9f142dbd5ad22afd9052289
2023-09-26 15:32:27 +08:00
handyohos
b5ac43a708 Bugfix: 优化bootevent度量开机启动耗时
1) 去掉无效的init_trace静态插件
2)去掉InitAddServiceHook在INIT_SERVICE_FORK_BEFORE阶段的无效记录时间戳
3)优化INIT_CMD_RECORD的hook,只对耗时超过100ms的命令加入到bootevents列表
4)每次开机都记录同名的startup.bootevent文件,防止开机次数过多,产生过多垃圾文件
5)简化bootevent的clear命令处理逻辑
6)记录每个bootevent时间点到系统参数中
7)支持为系统应用预置bootevents

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

#I7XYNX
2023-09-07 09:21:09 +08:00
handyohos
b92c0acbb4 Bugfix: console配置支持使用/dev/kmsg
console配置支持使用/dev/kmsg:
0: 进程的stdio重定向到/dev/null
1: 进程的stdio重定向到/dev/console
2: 进程的stdio重定向到/dev/kmsg(新增)

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I758b4eb1c101e61166b410233903603ffce9dd5b
2023-08-31 16:14:28 +08:00
cheng_jinsong
f193742fa6 service start dfx
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-08-26 09:42:09 +08:00
openharmony_ci
7ac7e93f5e
!2184 Fix init CloseStdio bug
Merge pull request !2184 from handy/0809
2023-08-10 07:10:20 +00:00
handyohos
f0ee8a483a Bugfix: Fix init CloseStdio O_CLOEXEC error
Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I39ade60a283ca29ddaa15cc0cbba8f34f9b6aafe

#I7RZ6Y
2023-08-10 14:21:47 +08:00
chengjinsong2
210d92f1b4 修改lite_m log输出为hilog
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
2023-08-09 13:46:25 +08:00
handyohos
51379f94bd Feat: Add commands for ueventd
1) add trigger and listening mode for ueventd
2) add get log level api
3) add string array api

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

#I7KQM1
2023-07-17 09:25:04 +08:00
chengjinsong2
80a2ad370c 修改编译告警
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
2023-07-05 10:43:05 +08:00
handyohos
f710131b23 Bugfix: fix coding styles
Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I53085cfd8a2a170284a0e6997239636014175b88

#I7GBKO
2023-06-27 12:20:10 +08:00
wangxinpeng
d79fb28a30 change MAX_SMALL_BUFFER to fix cmdline length problem.
Change-Id: Ifc878425e1e53d0d5f62bf6a70e298fd0230a9bf
Signed-off-by: wangxinpeng <wangxinpeng4@huawei.com>
2023-06-23 20:08:27 +08:00
openharmony_ci
836ccc395b
!1988 需求:init支持selinux策略分离
Merge pull request !1988 from cheng_jinsong/vendor-init
2023-06-07 07:28:09 +00:00
cheng_jinsong
7637c55418 修改time_t 为timespec
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-05-31 14:51:31 +08:00
cheng_jinsong
01ff09c36d feature vendor init
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-05-29 12:39:49 +08:00
openharmony_ci
0051965d69
!1933 Add: 挂载新增eng_system, eng_chipset分区
Merge pull request !1933 from cheng_jinsong/init_eng_mode
2023-05-11 13:47:08 +00:00
cheng_jinsong
0c22659e02 add: 新增eng_system, eng_chipset分区挂载
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-05-11 19:43:57 +08:00
openharmony_ci
8ed5c03983
!1945 L0启动全部模块支持no_log
Merge pull request !1945 from cheng_jinsong/L0_no_log
2023-05-10 10:27:35 +00:00
cheng_jinsong
64d30097cb L0 support all module no log
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: Ice96ede1c61b1ca18019e6911a4e5369fb3442b8
2023-05-10 02:20:52 -07:00
cheng_jinsong
e18e0d7f07 系统优化
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-05-08 16:15:45 +08:00
cheng_jinsong
e63b8cb7c3 init ut memory
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-03-24 11:39:17 +08:00
handyohos
33c4561fca Feature: support hooking device info api and extending ohos.boot. parameters from cmdline
1) add hook to device info api
2) extending ohos.boot. parameters by cmdline

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

#I6D6V1
2023-02-08 09:51:35 +08:00
cheng_jinsong
a3cde86036 使用统一的接口操作uid,gid
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-12-07 11:06:13 +08:00
cheng_jinsong
9d196d575c add ut coverage rate
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: Id3dedeec464da3a9f62bbead2de9d31593b72710
2022-11-03 19:22:32 -07:00
cheng_jinsong
ceee295de6 init: set init log level
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-10-12 20:14:23 +08:00
openharmony_ci
56e9847a26
!1330 解决黄区ut用例导致设备重启和ut执行时间过长问题
Merge pull request !1330 from cheng_jinsong/master_cc_fix_ut
2022-09-30 02:10:13 +00:00
cheng_jinsong
6f0f3289b1 fix init ut
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: I04036374df43f4899a29259bcaf4fac6ad3c66bd
2022-09-28 04:06:42 -07:00
i-wangliangliang
cc16a30ddc iccarm 工具链支持
Signed-off-by: i-wangliangliang <willfox@126.com>
Change-Id: I4007881c5bc224d78d0ae8bd09bf70d2bc04c40a
2022-09-28 16:04:42 +08:00
chengjinsong
af6d736d0d codex
Signed-off-by: chengjinsong <chengjinsong2@huawei.com>
2022-09-23 10:10:18 +08:00
openharmony_ci
40fce3de87
回退 'Pull Request !1264 : cppcheck等静态告警处理' 2022-09-22 09:29:30 +00:00
openharmony_ci
9b46021376
!1264 cppcheck等静态告警处理
Merge pull request !1264 from cheng_jinsong/codex
2022-09-22 09:07:52 +00:00
chengjinsong
b39051fd3f codex
Signed-off-by: chengjinsong <chengjinsong2@huawei.com>
2022-09-21 20:04:38 +08:00
cheng_jinsong
a91a982af4 fix log
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-16 17:27:15 +08:00
lijunru
e3ce2d5472 Merge branch 'master' of gitee.com:openharmony/startup_init_lite into sub_name
Signed-off-by: lijunru <lijunru6@huawei.com>
2022-09-15 01:25:44 +00:00
cheng_jinsong
969e4ba580 delete unused function
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: If9b04a0172cd8f7936b3e615597ca4de51ae7dcb
2022-09-09 03:17:48 -07:00
lijunru
c55e7a7dc7 Add "subsystem_name" for the compilation target
Signed-off-by: lijunru <lijunru6@huawei.com>
Change-Id: Ieb4307b72edc058922c2c005e93607529248ea09
2022-09-09 18:15:47 +08:00
cheng_jinsong
db5614cca7 init: add console ondemand
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-06 16:07:37 +08:00
chengjinsong
710b8e81de codex
Signed-off-by: chengjinsong <chengjinsong2@huawei.com>
2022-08-23 15:57:51 +08:00
yaojiayou
74dcd46719 fix warning: unused parameter 'tab'
Signed-off-by: yaojiayou <y787288129@163.com>
2022-08-16 21:09:08 +08:00
Mupceet
a13cb30379 Merge branch 'master' of gitee.com:openharmony/startup_init_lite into initservice
Signed-off-by: Mupceet <laiguizhong@huawei.com>
2022-08-02 05:54:57 +00:00
openharmony_ci
db4f395bde
!974 【OpenHarmony开源贡献者计划2022】 修改单词拼写错误
Merge pull request !974 from Mupceet/init_725
2022-08-02 02:59:34 +00:00
Mupceet
258f8f8503 Merge branch 'master' of gitee.com:openharmony/startup_init_lite into initservice
Signed-off-by: Mupceet <laiguizhong@huawei.com>
2022-08-01 16:01:39 +08:00
openharmony_ci
95e37e3d88
!989 fix:解决启动过程读misc失败
Merge pull request !989 from Mupceet/bugmisc
2022-07-28 06:20:47 +00:00