diff --git a/bundle.json b/bundle.json index be9fac3d3d7fd90ed3ab09931c9f4b918dd1b0df..2bb196c80d53fc8aedeb8b425c8c0eda376cf050 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 c58842ac58a4fed3477d82577289a8767a98c5b7..8a8475277db8e6da74126dc5d95424ee58a12cc1 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 e7839446ed4782c52c553a60c2ae14796d7d3c58..0000000000000000000000000000000000000000 --- 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