From 1e436d4fcb54c072d9b1b426120ea5d88327d692 Mon Sep 17 00:00:00 2001 From: wangqing Date: Mon, 11 Apr 2022 17:20:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangqing --- bundle.json | 1 - sa_profile/BUILD.gn | 6 ------ sa_profile/etc/work_scheduler_service.cfg | 17 ----------------- 3 files changed, 24 deletions(-) delete mode 100644 sa_profile/etc/work_scheduler_service.cfg diff --git a/bundle.json b/bundle.json index be9fac3..2bb196c 100644 --- a/bundle.json +++ b/bundle.json @@ -45,7 +45,6 @@ "sub_component": [ "//foundation/resourceschedule/work_scheduler/services:workschedservice", "//foundation/resourceschedule/work_scheduler/sa_profile:worksched_sa_profile", - "//foundation/resourceschedule/work_scheduler/sa_profile:work_scheduler_service_init", "//foundation/resourceschedule/work_scheduler/interfaces/kits/js:workscheduler", "//foundation/resourceschedule/work_scheduler/frameworks:workschedclient", "//foundation/resourceschedule/work_scheduler/frameworks/extension:workschedextension", diff --git a/sa_profile/BUILD.gn b/sa_profile/BUILD.gn index c58842a..8a84752 100644 --- a/sa_profile/BUILD.gn +++ b/sa_profile/BUILD.gn @@ -14,12 +14,6 @@ import("//build/ohos/sa_profile/sa_profile.gni") import("//foundation/resourceschedule/work_scheduler/workscheduler.gni") -ohos_prebuilt_etc("work_scheduler_service_init") { - source = "etc/work_scheduler_service.cfg" - relative_install_dir = "init" - part_name = "${worksched_native_part_name}" -} - ohos_sa_profile("worksched_sa_profile") { sources = [ "1904.xml" ] part_name = "${worksched_native_part_name}" diff --git a/sa_profile/etc/work_scheduler_service.cfg b/sa_profile/etc/work_scheduler_service.cfg deleted file mode 100644 index e783944..0000000 --- a/sa_profile/etc/work_scheduler_service.cfg +++ /dev/null @@ -1,17 +0,0 @@ -{ - "jobs" : [{ - "name" : "boot", - "cmds" : [ - "mkdir /data/service/el1/public/WorkScheduler 0711 system system", - "start work_scheduler_service" - ] - } - ], - "services" : [{ - "name" : "work_scheduler_service", - "path" : ["/system/bin/sa_main", "/system/profile/work_scheduler_service.xml"], - "uid" : "system", - "gid" : ["system", "shell"] - } - ] -} \ No newline at end of file -- Gitee