diff --git a/services/etc/BUILD.gn b/services/etc/BUILD.gn index 55b0952b9424b454def68e1a9e6721e0d6fe680b..8a482b1f92e0a7061030cd772b8bde84a684e2ed 100755 --- a/services/etc/BUILD.gn +++ b/services/etc/BUILD.gn @@ -125,17 +125,6 @@ if (defined(ohos_lite)) { module_install_dir = "etc/param" } - ohos_prebuilt_para("ohos.startup.para") { - source = "//base/startup/init/services/etc/param/ohos.startup.para" - install_images = [ - "system", - "updater", - ] - part_name = "init" - subsystem_name = "startup" - module_install_dir = "etc/param" - } - ohos_prebuilt_para("ohos.para.dac") { source = "//base/startup/init/services/etc/param/ohos.para.dac" install_images = [ @@ -243,7 +232,6 @@ if (defined(ohos_lite)) { ":ohos.para", ":ohos.para.dac", ":ohos.para.size", - ":ohos.startup.para", ":ohos_const.para", ":passwd", ":syscap.json", diff --git a/services/etc/param/ohos.para b/services/etc/param/ohos.para index e93bbaca0e21de7751f8998c6d5e395acb42c403..493016f26e765751913ab9b6b6271a22fd299c9e 100755 --- a/services/etc/param/ohos.para +++ b/services/etc/param/ohos.para @@ -20,6 +20,8 @@ const.debuggable=1 const.build.characteristics=default const.product.model=ohos const.product.name="OpenHarmony 3.2" +persist.sys.usb.config=hdc +persist.init.bootevent.enable=true const.sandbox=enable const.product.devicetype=default const.software.model=default diff --git a/services/etc/param/ohos.startup.para b/services/etc/param/ohos.startup.para deleted file mode 100644 index 1a039250c0fe7772aea825df7ab45e1752b1b1bd..0000000000000000000000000000000000000000 --- a/services/etc/param/ohos.startup.para +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# 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. - -persist.sys.usb.config=hdc -persist.init.bootevent.enable=true \ No newline at end of file diff --git a/services/param/include/param_osadp.h b/services/param/include/param_osadp.h index c537cd18dc484a9fef782f54ef8931f38ace6986..ba7e7d02bb3ad484ae4c327f108630d2bffe2641 100755 --- a/services/param/include/param_osadp.h +++ b/services/param/include/param_osadp.h @@ -59,7 +59,7 @@ extern "C" { #ifdef STARTUP_INIT_TEST #define PARAM_WORKSPACE_MAX (1024 * 50) #else -#define PARAM_WORKSPACE_MAX (1024 * 4) +#define PARAM_WORKSPACE_MAX (1024 * 30) #endif #define PARAM_WORKSPACE_SMALL PARAM_WORKSPACE_MAX #define PARAM_WORKSPACE_DEF PARAM_WORKSPACE_MAX