Skip to content

Commit

Permalink
Merge pull request rdkcentral#5177 from selva11101992/SystemServices_…
Browse files Browse the repository at this point in the history
…autostart_configurable_sprint_24Q2

RDKDEV-1034 Make rdkservices plugin(SystemServices) autostart configurable from recipe
  • Loading branch information
anand-ky authored Apr 24, 2024
2 parents b029be6 + 852d33b commit e325b48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions SystemServices/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
set(PLUGIN_NAME SystemServices)
set(MODULE_NAME ${NAMESPACE}${PLUGIN_NAME})

set(PLUGIN_SYSTEM_AUTOSTART false CACHE STRING "To automatically start System plugin.")
set(PLUGIN_SYSTEMSERVICE_STARTUPORDER "" CACHE STRING "To configure startup order of SystemServices plugin")

find_package(${NAMESPACE}Plugins REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion SystemServices/SystemServices.conf.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
precondition = ["Platform"]
callsign = "org.rdk.System"
autostart = "false"
autostart = "@PLUGIN_SYSTEM_AUTOSTART@"
startuporder = "@PLUGIN_SYSTEMSERVICE_STARTUPORDER@"
2 changes: 1 addition & 1 deletion SystemServices/SystemServices.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set (autostart false)
set (autostart ${PLUGIN_SYSTEM_AUTOSTART})
set (preconditions Platform)
set (callsign "org.rdk.System")

Expand Down

0 comments on commit e325b48

Please sign in to comment.