From ba12be6e396e308d09e235ad3ad47be671b51177 Mon Sep 17 00:00:00 2001 From: chen Date: Wed, 25 May 2022 19:05:42 +0800 Subject: [PATCH] add samgr.ready dac Signed-off-by: chen Change-Id: I24e5838a8fd0b6e24c1efd06ce858aef7620fd87 --- bundle.json | 1 + etc/BUILD.gn | 25 +++++++++++++++++++++++++ etc/samgr.param.dac | 14 ++++++++++++++ 3 files changed, 40 insertions(+) create mode 100755 etc/BUILD.gn create mode 100755 etc/samgr.param.dac diff --git a/bundle.json b/bundle.json index da99f8f8..60b194e9 100644 --- a/bundle.json +++ b/bundle.json @@ -35,6 +35,7 @@ "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", "//foundation/distributedschedule/samgr/services/samgr/native:samgr", "//foundation/distributedschedule/samgr/services/samgr/native:etc", + "//foundation/distributedschedule/samgr/etc:samgr_etc", "//third_party/libxml2:libxml2" ], "inner_kits": [ diff --git a/etc/BUILD.gn b/etc/BUILD.gn new file mode 100755 index 00000000..726b4118 --- /dev/null +++ b/etc/BUILD.gn @@ -0,0 +1,25 @@ +# Copyright (c) 2021 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. + +import("//build/ohos.gni") + +group("samgr_etc") { + deps = [ ":samgr.param.dac" ] +} + +ohos_prebuilt_etc("samgr.param.dac") { + source = "samgr.param.dac" + relative_install_dir = "param" + part_name = "samgr_standard" + subsystem_name = "distributedschedule" +} diff --git a/etc/samgr.param.dac b/etc/samgr.param.dac new file mode 100755 index 00000000..5983823a --- /dev/null +++ b/etc/samgr.param.dac @@ -0,0 +1,14 @@ +# 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. + +bootevent.samgr.ready = samgr:samgr:0775 \ No newline at end of file -- Gitee