提交 acd39e35 编写于 作者: Z zhangqilong

fscrypt:start samgr in init-stage

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