From cb3b5d7eb4d731486da1f693b1c15341511bc011 Mon Sep 17 00:00:00 2001 From: chengjinsong2 Date: Mon, 10 Apr 2023 19:26:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BDhilog=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chengjinsong2 Change-Id: I5a68cbf4ff0c4e31a9ab4bc9a0ca3b44ea884df8 --- device_info/BUILD.gn | 1 + interfaces/innerkits/libbegetutil.versionscript | 2 -- services/etc/param/ohos.para.dac | 1 + services/param/watcher/BUILD.gn | 5 ++++- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/device_info/BUILD.gn b/device_info/BUILD.gn index 53b7f607..d4bff817 100644 --- a/device_info/BUILD.gn +++ b/device_info/BUILD.gn @@ -52,6 +52,7 @@ if (!defined(ohos_lite)) { ] deps = [ "//base/startup/init/interfaces/innerkits:libbegetutil", + "//base/startup/init/services/log:agent_log", "//third_party/bounds_checking_function:libsec_shared", "//third_party/mbedtls:mbedtls_shared", ] diff --git a/interfaces/innerkits/libbegetutil.versionscript b/interfaces/innerkits/libbegetutil.versionscript index 57ee6455..180a66c3 100644 --- a/interfaces/innerkits/libbegetutil.versionscript +++ b/interfaces/innerkits/libbegetutil.versionscript @@ -14,8 +14,6 @@ 1.0 { global: DecodeUid; - CheckAndCreateDir; - SetInitLogLevel; StartupLog; ServiceGetFd; ServiceSaveFd; diff --git a/services/etc/param/ohos.para.dac b/services/etc/param/ohos.para.dac index 4f3cf17f..a2d1aa57 100755 --- a/services/etc/param/ohos.para.dac +++ b/services/etc/param/ohos.para.dac @@ -35,6 +35,7 @@ persist.xts.devattest. = device_attest:device_attest:0775 #udid and sn, only read ohos.boot.sn = root:deviceprivate:0750 const.product.udid = root:deviceprivate:0750 +const.product.devUdid = root:deviceprivate:0750 const.actionable_compatible_property.enabled = root:root:0777 const.postinstall.fstab.prefix = root:root:0777 diff --git a/services/param/watcher/BUILD.gn b/services/param/watcher/BUILD.gn index 6cfe4019..4280b61c 100644 --- a/services/param/watcher/BUILD.gn +++ b/services/param/watcher/BUILD.gn @@ -41,7 +41,10 @@ ohos_shared_library("param_watcher") { "//third_party/cJSON", ] - deps = [ "//base/startup/init/interfaces/innerkits:libbegetutil" ] + deps = [ + "//base/startup/init/interfaces/innerkits:libbegetutil", + "//base/startup/init/services/log:agent_log", + ] external_deps = [ "c_utils:utils", -- GitLab