提交 acd39e35 编写于 作者: Z zhangqilong

fscrypt:start samgr in init-stage

Signed-off-by: Nzhangqilong <zhangqilong3@huawei.com>
Change-Id: I4fd0e2b588be799fa86c36d51130db5c766ea066
上级 db4f395b
......@@ -21,8 +21,7 @@
"load_persist_params ",
"bootchart start",
"chown access_token access_token /dev/access_token_id",
"chmod 0666 /dev/access_token_id",
"start samgr"
"chmod 0666 /dev/access_token_id"
]
}, {
"name" : "init",
......
......@@ -460,6 +460,10 @@ static void DoInitMainUser(const struct CmdArgs *ctx)
INIT_LOGE("DoInitMainUser: para invalid");
return;
}
if (!InitFscryptPolicy()) {
INIT_LOGI("DoInitMainUser:init fscrypt failed,not enable fscrypt");
return;
}
char * const argv[] = {
"/system/bin/sdc",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册