From 120fa5a3bfee8bdbdf2441cdd1b5aff0e4513db4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 27 Jun 2014 18:17:51 +0200 Subject: rework service startup, do not hardcode into postinst scripts --- target/collections/xbmcbox | 5 +++++ target/config/Config.in.runtime | 7 +++++++ 2 files changed, 12 insertions(+) (limited to 'target') 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 -- cgit v1.2.3