From 3e2b2d9346895da6c30eeb8154b627e1d9ccc1a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BD=B3=E4=BC=9F?= Date: Sat, 2 Aug 2025 11:14:03 +0800 Subject: [PATCH] =?UTF-8?q?Description:=E4=BF=A1=E6=81=AF=E6=95=B4?= =?UTF-8?q?=E6=94=B9=20IssueNo:https://gitee.com/openharmony/startup=5Fini?= =?UTF-8?q?t/issues/ICQJZS=20Binary=20Source:No=20Signed-off-by:=20songjia?= =?UTF-8?q?wei9=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../innerkits/fs_manager/erofs_overlay/erofs_remount_overlay.c | 2 +- remount/remount_overlay.c | 2 +- services/param/adapter/param_persistadp.c | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/interfaces/innerkits/fs_manager/erofs_overlay/erofs_remount_overlay.c b/interfaces/innerkits/fs_manager/erofs_overlay/erofs_remount_overlay.c index 40b211163..9b217ede3 100644 --- a/interfaces/innerkits/fs_manager/erofs_overlay/erofs_remount_overlay.c +++ b/interfaces/innerkits/fs_manager/erofs_overlay/erofs_remount_overlay.c @@ -221,7 +221,7 @@ int MountOverlayOne(const char *mnt) int RemountOverlay(void) { char *remountPath[] = { - "/usr", "/vendor", "/sys_prod", "/chip_prod", "/preload", "/cust", "/version", "/patch_hw" + "/usr", "/vendor", "/sys_prod", "/chip_prod", "/preload", "/cust", "/version" }; for (size_t i = 0; i < ARRAY_LENGTH(remountPath); i++) { struct stat statInfo; diff --git a/remount/remount_overlay.c b/remount/remount_overlay.c index 2aa41df25..ea02c5dbd 100644 --- a/remount/remount_overlay.c +++ b/remount/remount_overlay.c @@ -38,7 +38,7 @@ INIT_STATIC bool MntNeedRemount(const char *mnt) { char *remountPath[] = { - "/", "/vendor", "/sys_prod", "/chip_prod", "/preload", "/cust", "/version", "/patch_hw" + "/", "/vendor", "/sys_prod", "/chip_prod", "/preload", "/cust", "/version" }; for (size_t i = 0; i < ARRAY_LENGTH(remountPath); i++) { if (strcmp(remountPath[i], mnt) == 0) { diff --git a/services/param/adapter/param_persistadp.c b/services/param/adapter/param_persistadp.c index 7c6fd149c..979a63d3e 100644 --- a/services/param/adapter/param_persistadp.c +++ b/services/param/adapter/param_persistadp.c @@ -80,7 +80,6 @@ static bool IsPublicParam(const char *param) "persist.ffrt", "persist.filemanagement.param_watcher.on", "persist.global", "persist.graphic.profiler", "persist.hdc.jdwp", "persist.hiview", - "persist.init", "persist.hmos_fusion_mgr.ctl.support_hmos", "persist.kernel", "persist.location.locationhub_state", "persist.mmitest.isrunning", "persist.moduleupdate.bms", "persist.multimedia", "persist.nearlink.switch_enable", -- Gitee