From 4a20b57937f434bfbbb7108a76fe4d4d55942bf1 Mon Sep 17 00:00:00 2001 From: sun_fan Date: Wed, 11 Aug 2021 17:07:56 +0800 Subject: [PATCH] updater: modify /system/bin/xxx to /bin/xxx Signed-off-by: sun_fan --- services/fs_manager/mount.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/fs_manager/mount.cpp b/services/fs_manager/mount.cpp index 69e52294..533620e8 100644 --- a/services/fs_manager/mount.cpp +++ b/services/fs_manager/mount.cpp @@ -74,8 +74,8 @@ static int ExecCommand(std::vector cmds) static int DoFormat(const std::string &devPath, const std::string &fsType) { std::map fsToolsMap = { - { "ext4", "/system/bin/mke2fs" }, - { "f2fs", "/system/bin/make_f2fs" }, + { "ext4", "/bin/mke2fs" }, + { "f2fs", "/bin/make_f2fs" }, }; int ret = 0; auto it = fsToolsMap.find(fsType); -- Gitee