diff --git a/device_info/BUILD.gn b/device_info/BUILD.gn index 7d050d92e..a0ebdffff 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", "//base/startup/init/services/modules/udid:libudidcomm", "//third_party/bounds_checking_function:libsec_shared", ] diff --git a/interfaces/innerkits/libbegetutil.versionscript b/interfaces/innerkits/libbegetutil.versionscript index 57ee64557..180a66c35 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 4f3cf17fc..a2d1aa572 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 6cfe4019f..4280b61cb 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",