Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Startup Init Lite
提交
661a8c32
S
Startup Init Lite
项目概览
OpenHarmony
/
Startup Init Lite
1 年多 前同步成功
通知
3
Star
37
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Startup Init Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
661a8c32
编写于
6月 06, 2023
作者:
M
mgceshuang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rollback post mount
Signed-off-by:
N
mgceshuang
<
mashuang13@huawei.com
>
上级
59f54eaa
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
0 addition
and
11 deletion
+0
-11
interfaces/innerkits/fs_manager/BUILD.gn
interfaces/innerkits/fs_manager/BUILD.gn
+0
-8
interfaces/innerkits/fs_manager/fstab_mount.c
interfaces/innerkits/fs_manager/fstab_mount.c
+0
-3
未找到文件。
interfaces/innerkits/fs_manager/BUILD.gn
浏览文件 @
661a8c32
...
...
@@ -10,7 +10,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//base/startup/init/begetd.gni")
import("//build/ohos.gni")
# For init only
...
...
@@ -35,7 +34,6 @@ ohos_static_library("libfsmanager_static") {
"//base/startup/init/services/log",
"//base/startup/init/services/include",
"//base/startup/init/services/param/include",
"//base/startup/init/interfaces/innerkits/init_module_engine/include",
]
if (defined(global_parts_info.startup_hvb)) {
sources += [
...
...
@@ -57,12 +55,6 @@ ohos_static_library("libfsmanager_static") {
public_deps = [ "//base/startup/hvb/libhvb:libhvb_static" ]
}
deps = [ "//base/startup/init/interfaces/innerkits/init_module_engine:libinit_module_engine" ]
if (startup_init_extra_static_modules != "") {
deps += [ startup_init_extra_static_modules ]
}
public_configs = [ ":libfsmanager_exported_configs" ]
part_name = "init"
subsystem_name = "startup"
...
...
interfaces/innerkits/fs_manager/fstab_mount.c
浏览文件 @
661a8c32
...
...
@@ -26,7 +26,6 @@
#include "fs_manager/fs_manager.h"
#include "init_utils.h"
#include "param/init_param.h"
#include "bootstage.h"
#include "securec.h"
#ifdef SUPPORT_HVB
#include "dm_verity.h"
...
...
@@ -407,8 +406,6 @@ int MountOneItem(FstabItem *item)
}
int
rc
=
Mount
(
item
->
deviceName
,
item
->
mountPoint
,
item
->
fsType
,
mountFlags
,
fsSpecificData
);
char
*
reason
[]
=
{
item
->
mountPoint
,
(
char
*
)
&
rc
};
HookMgrExecute
(
GetBootStageHookMgr
(),
INIT_POST_MOUNT
,
(
void
*
)
reason
,
NULL
);
if
(
rc
!=
0
)
{
if
(
FM_MANAGER_NOFAIL_ENABLED
(
item
->
fsManagerFlags
))
{
BEGET_LOGE
(
"Mount no fail device %s to %s failed, err = %d"
,
item
->
deviceName
,
item
->
mountPoint
,
errno
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录