diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-27 18:17:51 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-27 18:18:07 +0200 |
commit | 120fa5a3bfee8bdbdf2441cdd1b5aff0e4513db4 (patch) | |
tree | 580cd6c1f4c3c8a392b4473581844f5a5dc768c5 /target | |
parent | e31aa3edfc7f6508e73b30d76bb1c82a4b5e8b2d (diff) |
rework service startup, do not hardcode into postinst scripts
Diffstat (limited to 'target')
-rw-r--r-- | target/collections/xbmcbox | 5 | ||||
-rw-r--r-- | target/config/Config.in.runtime | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/target/collections/xbmcbox b/target/collections/xbmcbox index baf2794e2..33bee606b 100644 --- a/target/collections/xbmcbox +++ b/target/collections/xbmcbox @@ -18,6 +18,11 @@ config ADK_PKG_XBMCBOX select ADK_QUIET_KERNEL select ADK_RUNTIME_QUIET_INIT select ADK_TARGET_GPU_MEM_128 + select ADK_RUNTIME_START_SERVICES + select ADK_RUNTIME_START_DROPBEAR + select ADK_RUNTIME_START_BUSYBOX_NTPD + select ADK_RUNTIME_START_BUSYBOX_SYSLOGD + select ADK_RUNTIME_START_XBMC help Create a small xbmc box. diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime index 22600f9d2..b7bc2462d 100644 --- a/target/config/Config.in.runtime +++ b/target/config/Config.in.runtime @@ -57,6 +57,7 @@ config ADK_QUIET_KERNEL choice prompt "bootup messages from initscripts" +default ADK_RUNTIME_QUIET_INIT if ADK_PKG_XBMCBOX default ADK_RUNTIME_VERBOSE_INIT_VGA if ADK_TARGET_WITH_VGA || ADK_TARGET_QEMU_WITH_GRAPHIC || ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY || ADK_TARGET_VBOX default ADK_RUNTIME_VERBOSE_INIT_SERIAL @@ -75,6 +76,7 @@ endchoice choice prompt "start getty or shell after bootup" default ADK_RUNTIME_SHELL if ADK_PKG_TEST +default ADK_RUNTIME_NONE if ADK_PKG_XBMCBOX default ADK_RUNTIME_GETTY config ADK_RUNTIME_GETTY @@ -87,6 +89,11 @@ config ADK_RUNTIME_SHELL help Start a shell after bootup +config ADK_RUNTIME_NONE + boolean "start no shell nor getty after bootup" + help + Do not start a shell or getty after bootup + endchoice config ADK_RUNTIME_GETTY_VGA |